How do I make it go to the center? Taste Theme.
Topic summary
A user seeks help centering the Featured Product section in Shopify’s Taste Theme.
Initial Problem:
- Featured Product display is not centered
- User provides store URL and screenshot showing the alignment issue
Proposed Solution:
A community helper suggests adding CSS code to the theme’s stylesheet:
- Navigate to: Shopify Admin → Online Store → Themes → Actions → Edit Code
- Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
- Add specific CSS targeting the featured product grid with
justify-content: center !important
Resolution:
- Initial attempt placing code in the suggested location did not work
- User successfully resolved the issue by adding the CSS code to a different file location instead
- The helper confirms this alternative approach is valid, noting the code can be placed in either the liquid file or the section-main-product.css file
Status: Resolved through alternative CSS file placement.
Hi @ABash
Would you mind to share your store URL?
Thanks for the info, check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.featured-product.product.product--small.grid.grid--1-col.gradient.color-background-1.product--left.isolate.grid--2-col-tablet {
justify-content: center !important;
}
And save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Did not work. ![]()
Yes, that is the style for liquid file but you can paste it there. You can also paste it on the section-main-product.css.
Good thing the code work but in the different file. Please atleast likes the post. Thanks!


