• Resolved lodetkint

    (@lodetkint)


    Hi everybody,

    How to remove Sidebar on Category pages layout?

    I would like to remove the sidebar functionallity on my category and subcategory pages.

    On my single product page, the sidebar can stay.

    So i don(t want only to “hide” sidebar widget, but completely remove sidebar from the category page layout. So in that way, my products/categories are shown the full width of my page.

    Many thx in advance to help me figure this out.

    regards, Lode

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @lodetkint

    To remove the sidebar from your category and subcategory pages, you can add this custom CSS to your site at Appearance > Customize > Additional CSS:

    .tax-product_cat body .widget-area:not(.widget-area-secondary) {
      display: none;
    }
    
    .post-type-archive .post-type-archive-product .widget-area:not(.widget-area-secondary) {
          display: none;
    }

    Direct link: https://dsh.re/4e9a4

    I recommend reaching out to your theme developer if this doesn’t work. They developed this theme and can give you the right CSS or custom snippet to remove the sidebar on category and subcategory pages.

    I hope this helps! If you have any further questions, please don’t hesitate to ask.

    Thread Starter lodetkint

    (@lodetkint)

    Hi @shameemreza

    Many thx to take a minute to look at this topic! That didn’t solve it. How did you get the screenshot? That is like i would like it to be!

    My theme is Buddyboss – This is custom work, they say (so I have to solve it myself…). Do you have another suggestion?

    Regards, Lode

    Thread Starter lodetkint

    (@lodetkint)

    hi @shameemreza , Good news! It’s solved without code. There was an widget on the woocommerce pages still active. Stupid mistake. I deactivated the widgets and now the layout is width screen!

    Many thax for your time,

    Regards, Lode

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @lodetkint

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! 🙂

    Should you have further inquiries, kindly create a new topic here.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://wordpress.org/support/plugin/woocommerce/reviews/

    It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a really long way.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to remove Sidebar on Category pages layout’ is closed to new replies.