Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Adding a Vertical Image Background Full Depth in Genesis Theme WordPress

February 7, 2014 Leave a Comment

A web design normally has a horizontal full width image but what about a vertical full depth that spans the page.

Full Depth Vertical Image Genesis page

Full Depth Vertical Image

In a Genesis theme you can accomplish this by setting a background image to the .site-container div  that contains all page elements

genesis-site-container

Genesis SIte Container

 

genesis-site-container-image-runs

Image Ends Up Covered by Text at a Set Size

If the image has to be a certain width with no text or images obscuring it you need to edit the framework CSS and it’s all to do with the Genesis .wrap div and it’s parent div. The .wrap div gives a defined width and centers the content whilst its parent div is full width of the viewport, one example is the .site-header div which contains all the header elements including its child .wrap div

 Adjusting the CSS

2 things need to happen to allow this layout to work and that is to adjust both the .wrap div and its parent div

The parent div needs a padding left to accommodate the width of the image and the .wrap divs need the centering power removed, making the parent divs padding element the anchor for position.

(Only 2 of the below elements are default Genesis elements the other 2 I added in extra full width wrap areas.)

.site-container {
	background: linear-gradient(to right, rgba(0,0,0,0.10) 0%,rgba(0,0,0,0) 100%), url(/my-background.png) no-repeat 0 0;

.topwrapwrapper, .site-header, .pitchwrapper,  .site-inner {
	padding-left: 430px;
}
.topwrapwrapper .wrap, .site-header .wrap , .pitchwrapper wrap, .site-inner .wrap {
	margin: 0px 0px;
}

I know my image is 430px wide so that will be the padding amount in the second CSS rule and after that in the 3rd rule the centering has been removed so the content will start straight after the image.

genesis-full-depth-background-image

Final Layout

Site in progress here.

Cats: CSS, Theming, WordPress Tags: frontier

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Google hits back after Apple exec says AI is hurting search
  • Apple: “Hundreds of millions to billions” lost without App Store commissions
  • Matter update may finally take the tedium out of setting up your smart home
  • Cue: Apple will add AI search in mobile Safari, challenging Google
  • Apps like Kindle are already taking advantage of court-mandated iOS App Store changes

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in