Find out how to remove all sidebar designs in Genesis Framework child themes using code.
The Genesis Framework offers 6 different layout designs that combine content with primary and secondary sidebars.
In most cases you don’t need all of them. In fact, there are good reasons to stop using sidebars in child themes today:
- They can distract the reader.
- Nobody pays much attention to them anymore.
- On mobile devices they are displayed at the end of the content.
If you want to delete all the designs that have a sidebar and keep only the full width one, read on. 😉
Snippet to delete all sidebar designs
Add this fragment to the end of the functions.php file:
By including these lines of code, you will no longer see the sidebar layout designs in the “Layout” section of the Genesis sidebar.
Alternatively, you may prefer to just delete the design with sidebar on the right, to the left or the layouts with 2 sidebars.
The choice is yours.
Do you want to remove all sidebar designs from a Genesis child theme at once? Copy and paste the previous code snippet. 😉
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉