• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2762

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Premium Access
  • Log in

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:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
 

Loading Comments...
 

You must be logged in to post a comment.