Home Forums Masterstudy – Education WordPress Theme Remove all Woocommerce sidebars?

This topic contains 6 replies, has 3 voices, and was last updated by  Uros 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3419

    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!

    #3428

    Axel
    Moderator

    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

    That worked, thank you!

    #3494

    Axel
    Moderator

    You are welcome))

    #3647

    Uros
    Member

    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

    Uros
    Member

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

    Thank you.

    #3649

    Uros
    Member

    I found solution 🙂

    Tnx

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.