• Skip to content

StudioPress

Customer Portal

  • Genesis Pro
  • Blocks
  • Custom Blocks
  • Framework
  • Themes
  • Hosting
  • Agencies
  • Login
Get Help / Code Snippets / Structural Wraps /

Add Structural Wraps

Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.

By default, Genesis adds structural wraps inside the header, menu-primary, menu-secondary, footer-widgets, and footer elements to aid styling. Use the code below to add additional structural wraps or remove default ones.

Add new structural wraps by adding the named element you wish to insert wrap tags into, such as ‘site-inner’.

Remove default wraps by removing the named element that should no longer contain the wrap.

To remove support for all structural wraps at once, use this code:

Ready to get started? Create a site or shop for themes.

Explore Genesis ProductsGenesis + Hosting

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Genesis Pro
  • Blocks
  • Custom Blocks
  • Framework
  • Themes
  • Hosting
  • Agencies
Company
  • Brand Assets
  • Terms of Service
  • Acceptable Use Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Developer Documentation
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble