-
AuthorPosts
-
December 16, 2015 at 8:36 pm #710102
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,
ShaunDecember 16, 2015 at 9:16 pm #710153Hello 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.
December 17, 2015 at 11:00 am #711004Awesome! Thank you.
December 17, 2015 at 3:11 pm #711330You’re most welcome.
December 20, 2015 at 4:52 pm #715072Hey so I added the CSS and it still has the sidebar.
http://consultingconfidant.com/cart-2/
What’s going wrong?
December 20, 2015 at 8:10 pm #715225Hi there,
There is no sidebar on my view, please clear your browser cache.
Thanks.
December 26, 2015 at 12:23 pm #721474That’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?
December 26, 2015 at 12:25 pm #721476Nope, that’s not the case, just added something to the cart and I still have the sidebar.
December 26, 2015 at 5:11 pm #721664Hi 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!
December 27, 2015 at 11:16 am #722201Which 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,
ShaunDecember 27, 2015 at 2:47 pm #722341Hi 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.
December 28, 2015 at 3:59 pm #723562Got it! That worked!
Thank you ๐
December 28, 2015 at 8:19 pm #723800Youโre welcome! We are just glad we were able to help you out.
-
AuthorPosts