Created
June 9, 2013 16:03
-
-
Save agusmu/5744064 to your computer and use it in GitHub Desktop.
PrimaShop - Centering product elements on Shop page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { | |
text-align:center; | |
} | |
.woocommerce .products .star-rating, .woocommerce-page .products .star-rating { | |
float:none; | |
display:block; | |
margin-left:auto; | |
margin-right:auto; | |
} |
Hello
Thank you for the code.
But my "add to cart" button was not centered
What should I do to let it centered?
Thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial: http://www.primathemes.com/documentation/centering-product-elements-on-shop-page/