• Resolved oakwoodmedia

    (@oakwoodmedia)


    Hello All,

    I am trying to find out if its possible to remove the shop sidebar from specific categories.

    The reason is as I have products in categories that don’t require a filter that I’m using in the shop sidebar so it would make sense if I could just remove the sidebar from the categories that don’t require it or maybe add the sidebar to categories that do require it?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @oakwoodmedia,

    The Widget Options plugin should help with that. Also, if you have jetpack already installed, you can achieve it using its widget visibility feature.

    Either option will allow you to show or hide the filter widget on a specific page, category, etc.

    I hope this helps!

    Thread Starter oakwoodmedia

    (@oakwoodmedia)

    Thank you for your reply, I have used this widget however its not exactly what I wanted. I am looking to remove the shop sidebar completely from specific categories not the widget within the sidebar.

    Regards
    Chris.

    MayKato

    (@maykato)

    Hello,

    You can insert CSS like below to hide the sidebar from a specific page:

    .term-1234 .widget-area {display:none;}
    .term-1234 .content-area {width:100%;}

    You’ll need to tweak a little bit to get it work for your store – e.g. replace 1234 with your category ID: https://docs.woocommerce.com/document/find-product-category-ids/

    MayKato

    (@maykato)

    Hi @oakwoodmedia

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Excluding the Shop Sidebar from specific woocommerce categories’ is closed to new replies.