Skip to content

Instantly share code, notes, and snippets.

@agusmu
Created June 9, 2013 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agusmu/5744064 to your computer and use it in GitHub Desktop.
Save agusmu/5744064 to your computer and use it in GitHub Desktop.
PrimaShop - Centering product elements on Shop page
.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;
}
@agusmu
Copy link
Author

agusmu commented Sep 28, 2013

@mateusdr
Copy link

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