Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #985422
    mrboats
    Participant

    Hi,

    I’ve followed the instructions here https://community.theme.co/forums/topic/sidebar-in-single-product-page-woocommerce/ and everything works nicely except the Shop page now also gets a sidebar.

    How should I modify the code to keep the shop layout full-width? I use renew, I have site layout set to right sidebar and the shop page template set to full-width.

    The shop page (currently empty) is here: https://dokk.fi/en/kauppa/

    #985583
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    body.archive.woocommerce .x-main {
        background-color: white;
        width: 100%;
    }

    body.archive.woocommerce .x-sidebar {
    display:none;
    }`

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-985422 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>