Skip to content

Instantly share code, notes, and snippets.

@jessestu
Created February 26, 2019 19:22
Show Gist options
  • Save jessestu/f2d5bf52436538b72607271882260ad4 to your computer and use it in GitHub Desktop.
Save jessestu/f2d5bf52436538b72607271882260ad4 to your computer and use it in GitHub Desktop.

Please go to My Site → Customize → CSS (or Additional CSS), then add all of the following code to the bottom of that window.


/* This CSS centers the items under "Shop By Category" on Storefront homepage.
* 10755457-hc (jw)
*/
.storefront-product-categories .products.columns-3 {
  display: flex;
  justify-content: center;
}

Tip: keep the /* comment */ in the code to later know what this code does.

Example of where to add the CSS

If this image fails to load, please see it at: http://cld.wthms.co/av2gwv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment