Home › Forums › Arnold WordPress Theme › Product sidebar Woocommerce
- This topic has 5 replies, 2 voices, and was last updated 7 years ago by
SeaTheme.
-
AuthorPosts
-
May 25, 2019 at 5:02 pm #18578
Hi, good evening,
I know that there is not sidebar on the default layout for woocommerce and I’ve tried with the AJAX filter and changed the template file (/woocommerce/archive-product.php) but the sidebar on woocommerce still not appearing and I need to apply some filter option by categories for my shop.
Is there any option to show the filter option on the main woocommerce shop page?
Thanks very much,
May 27, 2019 at 8:40 am #18589Hi,
1)
Please go to Appearanc>Theme Editor, find Arnold, edit the woocommerce/archive-product.php, find line33-35, check screenshot,:} ?> <div class="product-wrap">Update as:
} do_action( 'woocommerce_sidebar' ); ?> <div class="product-wrap col-md-9 col-sm-9">For the single Product page, please edit woocommerce/single-product.php:
line 29:
<div class="product-wrap product-single">Update as:
<?php do_action( 'woocommerce_sidebar' ); ?> <div class="product-wrap product-single col-md-9 col-sm-9">2)
Please add the widget in Appearance > Widgets: Shop Sidebar3)
If you want to move the sidebar to right, please paste the custom CSS code to “Appearance > Customize: Additional CSS”:@media (min-width: 992px) { #sidebar-widget.col-md-3 { float: right; } } @media (min-width: 768px) { #sidebar-widget.col-md-3 { float: right; } }May 27, 2019 at 7:40 pm #18593Great! Works perfectly! One last question.
Is there a CSS to change the width of the product sidebar filter and add some spaces between the filter and the product images?
I attach a link with the image http://es.tinypic.com/r/30cadzt/9Thanks again for all your help and attention!!
May 28, 2019 at 3:08 am #18600Welcome.
Please leave your shop page URL, I need to check the lived page.May 28, 2019 at 6:14 am #18603Hi BWSM,
My website is currently under maintenance mode and is not public already. I attatch a screenshot of the shop page in case you can help me. Basically I need to add some spacing between the title of the shop page, the sidebar and the product pictures.
http://es.tinypic.com/r/2afbo6r/9Thanks again!
May 29, 2019 at 12:06 am #18605This reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.
