Remove Site Inner Div From Genesis

This PHP code enables you to remove the site inner div from any Genesis child theme.

You can add the code directly to a template file like your front-page.php, home.php, page_blog.php, archive.php or any other template file which uses the WordPress Template Hierarchy.

Here’s the before and after shots:

Before with .site-inner

with-site-inner

After without .site-inner

without-site-inner

You can also add the code ‘as is’ to your functions file to remove the site inner from your entire site or in a custom function which enables you to conditionally remove site inner using conditional tags and query arguments.

This code enables you to create a full width template.

Here’s the code for logged in members:

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.