Remove all Woocommerce sidebars?

Started by: Samuel Thacker March 09, 2017 - 05:00

Hi. I have searched and searched the internet for an answer to this, but have had no luck with code modification. I think it's because Masterstudy's theme is overriding the Woocommerce sidebar: I want to remove all of the sidebars from the shop, "all courses," and single course pages, and instead make the page full width. I cannot find a setting for this in any of the theme settings. Any assistance in this matter would be greatly appreciated.

Thank you!



Replies:

  • Author Team
    #3428 Reply

    Axel
    Hi,

    You can disable sidebar of All courses page under Theme Options -> Sidebars -> Shop section. For single course pages you need to use this custom CSS:

    @media (min-width: 1200px) { 
    body .col-lg-3 { display: none; }
    body .col-lg-9 { width: 100%; }
    }

    @media (min-width: 992px) {
    body .vc_sidebar_position_right > .vc_column-inner > .wpb_wrapper:after, .sidebar_position_right:after { display: none; }
    }

    Regards

    #3488 Reply

    Samuel Thacker
    replied to: #3428
    That worked, thank you!
    Author Team
    #3494 Reply

    Axel
    You are welcome))
    #3647 Reply

    Uros
    I need a help with Shop sidebar. I am using the Health Coach theme.

    The code you posted:
    @media (min-width: 1200px) {
    body .col-lg-3 { display: none; }
    body .col-lg-9 { width: 100%; }
    }

    @media (min-width: 992px) {
    body .vc_sidebar_position_right > .vc_column-inner > .wpb_wrapper:after, .sidebar_position_right:after { display: none; }
    }

    works fine with product display. The problem that arises is that the code for col-lg-3 is also used in footer. If I apply this code in custom CSS my footer hides.

    Can you please help me?

    Thank you.

    #3648 Reply

    Uros
    What I want is a display as in original theme:
    http://stylemixthemes.com/demo/healthcoachwp

    Thank you.

    #3649 Reply

    Uros
    I found solution :)

    Tnx

You must be logged in to reply to this topic.