Do you want to add structural wraps or remove any structural wrap in your Genesis Framework? Then you are at the right planet.
By default, Genesis adds structural wraps inside the header, menu-primary, menu-secondary, footer-widgets, and footer elements to aid styling.
We’ve posted below the code snippets that will help you to easily remove or add structural wrap. Just follow the below guide.
Read also: How to Add Custom Body Class in Genesis, WordPress Remove Dashboard Menu items from Users Without Plugin
Let’s not waste time and start the guide.
Add/Remove Structural Wraps Genesis
Below we have embedded the code that you need to put in your theme. Just copy the below code and paste it into your Genesis child theme’s functions.php file.
After that, modify the code as the way you want.
Code Snippets to add or remove structural wraps
Add New Structural Wraps
To add new structural wrap: Just type the name of structural wrap nto the genesis-structural-wraps's array
list. For eg: ‘site-inner’.
Remove Structural Wraps
To delete the default structural wrap: You need to remove the named element that you don’t want to contain in the wrap.
That’s it.
If you guys have any questions or opinion of this post, let me know in the comment box. Also, do share this post, if it helped you.