• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Remove the design with the sidebar on the left in Genesis

Find out how to remove the left sidebar layout design in Genesis Framework child themes using code.

Genesis offers 6 different layout designs that combine the content with the primary and secondary sidebars.

In most cases you don’t need all of them, and if you want, you can hide each design with a simple snippet in Genesis.

For example, this is what you should enter to remove the one layout with a sidebar on the left of the content:

Code to remove the sidebar-content design

Add this fragment to the end of the functions.php file:

To see this and another 847 code snippets of this website, login or subscribe here.

With this simple line the left sidebar design will no longer appear in the “Layout” section of the Genesis sidebar.

If you are interested, you can also delete the right sidebar layout or delete all sidebar layouts using a single block of code.

Conclusions

Now you know how to remove the layout design with a sidebar to the left of the content in Genesis Framework.

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. 😉

Genesis Framework Layout PHP Sidebar Sidebar content

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?