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.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024