Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #710102

    sglass03
    Participant

    Hi —

    How do I get rid of the sidebar in Woocommerce cart and checkout pages?

    It looks like the Customizer only gets rid of it in the shop page.

    For example, here is the site:
    http://consultingconfidant.com/cart-2/

    Thanks,
    Shaun

    #710153

    Prasant Rai
    Moderator

    Hello Shaun,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .page-id-459 aside.x-sidebar.nano.has-scrollbar {
        display: none;
    }
    
    body {
        padding: 0 !important;
    }
    
    .page-id-452 aside.x-sidebar {
        display: none;
    }

    Thanks.

    #711004

    sglass03
    Participant

    Awesome! Thank you.

    #711330

    Jade
    Moderator

    You’re most welcome.

    #715072

    sglass03
    Participant

    Hey so I added the CSS and it still has the sidebar.

    http://consultingconfidant.com/cart-2/

    What’s going wrong?

    #715225

    Rad
    Moderator

    Hi there,

    There is no sidebar on my view, please clear your browser cache.

    Thanks.

    #721474

    sglass03
    Participant

    That’s very strange, I just checked it from a brand new computer and still have an empty sidebar.

    Could the site be showing different layouts with there is something in the cart versus not?

    #721476

    sglass03
    Participant

    Nope, that’s not the case, just added something to the cart and I still have the sidebar.

    #721664

    Rad
    Moderator

    Hi there,

    I checked it with both empty cart and with items in the cart, and there is no empty sidebar. It’s probably a cache.

    This is really weird and I’m not sure how we should proceed since it works on all my tests. Could you try it on another machine that uses a different internet connection? I’m not sure if that can help.

    Thanks!

    #722201

    sglass03
    Participant

    Which browser are you using?

    I cleared my cache (on Safari) and still had the same issue. However, when I used Firefox, I did not see the sidebar. Are you using Firefox?

    Could this be a browser specific issue? If so, how do I get rid of the sidebar for chrome/safari?

    Best,
    Shaun

    #722341

    Rad
    Moderator

    Hi Shaun,

    I’m using three of them, it’s my job to test them on all major browsers ๐Ÿ™‚

    But I do see the nano content scroller from the source code, which I believe, it’s part of the sidebar. None of this are visible on my chrome and safari, but you may try adding this CSS just to be sure.

    .woocommerce-cart .nano, .woocommerce-cart .nano .nano-content {
    display: none !important;
    }

    Thanks.

    #723562

    sglass03
    Participant

    Got it! That worked!

    Thank you ๐Ÿ™‚

    #723800

    Prasant Rai
    Moderator

    Youโ€™re welcome! We are just glad we were able to help you out.