Shopify themes, liquid, logos, and UX
I need help how to edit the code so my products title and price on the home page and collection page is centered. This is my site: https://showyourpick.com/
Solved! Go to the solution
This is an accepted solution.
Sorry, didn't see the additional margins that were there. Just add this underneath:
.price__regular {
margin: 0;
}
.price dd {
margin: 0;
}
You can add this to the bottom of your theme.scss.liquid file in your Assets folder:
.product-card {
text-align: center;
}
.price--listing {
align-items: center;
}
It did center it kinda but its not perfect. The price is kind of of center. See video
This is an accepted solution.
Sorry, didn't see the additional margins that were there. Just add this underneath:
.price__regular {
margin: 0;
}
.price dd {
margin: 0;
}
Thank you! You are a genius!
This isn't working for me. I don't have the file named theme.scss.liquid. I have 3 files that have theme. Theme.liquid / theme.js / theme.css. I tried adding the code at the bottom of each and no luck.
User | RANK |
---|---|
155 | |
127 | |
80 | |
73 | |
69 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023