Tagged: x
-
AuthorPosts
-
May 31, 2016 at 3:23 pm #1018778
SaShahParticipantHi,
how can i ONLY hide the shop page side bar but please not any other but ONLY shop page side bar.I used this code but i deactivated it because i hide the side bar on all of woocommerce:
/* to disable sidebar on shop page */
.woocommerce-page .x-main {
width: 100% !important;
}
.woocommerce-page .x-sidebar {
display: none;
}so please let me know how to hide it on shop page.
Thanks
May 31, 2016 at 3:31 pm #1018793
RahulModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
May 31, 2016 at 7:47 pm #1019144
SaShahParticipantThis reply has been marked as private.June 1, 2016 at 12:07 am #1019424
ChristopherModeratorHi there,
Please add this :
.archive.woocommerce .x-main { width: 100% !important; } .archive.woocommerce .x-sidebar { display: none; }Hope it helps.
June 1, 2016 at 12:59 pm #1020525
SaShahParticipantHi,
it does not work for me because this code remove the sidebar from all of my store including products category, what i need that i want to remove the sidebar ONLY from the shop page, i am talking about the shop page that is default shop page for the whole store means when on checkout you click continue shopping and it redirect you to the main shop page.So please let me know how to remove the sidebar only on main SHOP page but not on product cats.
Thanks
June 1, 2016 at 7:56 pm #1021150
Rue NelModeratorHello There,
Thanks for the updates! You can make your shop page as fullwidth. There is a setting in the customizer to achieve this layout. Simply go to Appearance > Customize > WooCommerce > Shop Layout. The “Shop Layout” option allows you to keep your sidebar on your shop page if you have already selected “Content Left, Sidebar Right” or “Sidebar Left, Content Right” for you “Content Layout” option, or remove the sidebar completely if desired.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1018778 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
