Created
July 21, 2017 09:56
-
-
Save MGCodeSnips/be803ccd07769e07204b825168c61c04 to your computer and use it in GitHub Desktop.
How to center the products on avocardo
This file contains 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
// This CSS will center the products | |
.c-products-list { | |
-webkit-box-pack: center; | |
-ms-flex-pack: center; | |
justify-content: center; | |
} | |
// Or you could add this to the product class. | |
// Add "o-grid--center" to any product list "c-products-list o-grid" element. | |
// It will center the products if there aren't 3 products on a row. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment