Tagged: x
-
AuthorPosts
-
October 26, 2016 at 10:18 am #1231646
iRocketdesignParticipantI only have 2 categories, and on the Shop page the thumbnails are left justified. I would like them centered. Can you help with that please?
login info in private to follow.
thanks,
RickOctober 26, 2016 at 10:20 am #1231649
iRocketdesignParticipantThis reply has been marked as private.October 26, 2016 at 10:48 am #1231694
JadeModeratorHi there,
The products in the shop page automatically sets their alignment according to how many columns is set in the customiZer.
Currently your shop page is set to display 3 columns while there are currently just two products. You can set the columns to 2 so that the layout will adjust accordingly. You can set it in Appearance > Customizer > Woocommerce > Shop Columns.
Hope this helps.
October 26, 2016 at 10:54 am #1231709
iRocketdesignParticipantI have it set to 3 because I have 3 products within the one category. So the two pages have to be the same setting? If I change it to 2, it makes my products page look wrong.
October 26, 2016 at 1:54 pm #1232000
iRocketdesignParticipantSo my question is can I only center my two category thumbnails without changing my customizer from 3, since I don’t want my products page to change?
October 26, 2016 at 2:39 pm #1232061
Nabeel AModeratorHi there,
Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.woocommerce .cols-3 li.product, .woocommerce.columns-3 li.product { width: 46% !important; }Let us know how this goes!
October 26, 2016 at 3:11 pm #1232086
iRocketdesignParticipantThat worked but it also changed my Products page as well, which I don’t want. Any other suggestions?
October 26, 2016 at 9:29 pm #1232518
LelyModeratorHi Rick,
For that CSS to work on your shop page only, please update above CSS to this:
.post-type-archive-product.woocommerce .cols-3 li.product, .post-type-archive-product.woocommerce.columns-3 li.product { width: 46% !important; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1231646 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
