Shopify themes, liquid, logos, and UX
My website is www.sweatfree.co
The password to get in is sweatfree123
If you scroll down and look at the 3rd section it says USA and then the product image as a flag.
I've been trying to center the product on the page, but I am not sure how to do it. Right now, it is aligned to the left. If you could please advise on how to make it align center. Thank you!
Hi @SweatFree
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.card.card--standard.card--media {
margin: auto;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hello, @SweatFree
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom
#shopify-section-template--14927606710354__featured_collection_6z7DnV * {
text-align: center;
justify-items: center !important;
}
Thanks!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025