[Support request] How to Remove Sidebar from Categories?

Home Forums Support [Support request] How to Remove Sidebar from Categories?

Home Forums Support How to Remove Sidebar from Categories?

  • This topic has 3 replies, 2 voices, and was last updated 2 years ago by Fernando.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2275451
    Nyghtfall

    I’ve set up a Category menu on my site. How do I remove the sidebar from Category pages?

    I tried setting Layout > Sidebars > Blog Sidebar Layout to Content (no sidebars) but it removed the sidebar from my Blog as well.

    #2275475
    Fernando
    Customer Support

    Hi Nyghtfall,

    Can you try adding this CSS through Appearance > Customize > Additional CSS?:

    body.category div.sidebar {
        display: none;
    }
    
    body.category div#primary {
        width: 100%;
    }

    Kindly let us know how it goes.

    #2275478
    Nyghtfall

    That worked. Thanks!

    #2275482
    Fernando
    Customer Support

    You’re welcome Nyghtfall! Glad that worked!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.