Some Genesis child themes includes support for structural wraps in the child themes functions file.
The PHP code looks something like the following code and applies to your entire site:
//* Add support for structural wraps
add_theme_support( 'genesis-structural-wraps', array(
'header',
'nav',
'subnav',
'site-inner',
'footer-widgets',
'footer'
) );
This code can prevent you from displaying your background full width on specific pages like landing and front page templates.
The code also effects your entire site which is not ideal if you want full width background images and color to extend the entire width of your screen.
Simply add this line of PHP code to the file you need to modify.
This will only remove the site inner class from a specific template rather than your entire site.
Before Removing Site Inner
After Removing Site Inner
Video Demo
Once added to your front-page.php file, this code removes the site-inner class enabling you to display your background images and background colors full width outside the wrap.
Tested on the Remobile child theme by StudioPress and a Modified version of Eleven40 Pro.
Was This Tutorial Helpful?