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 |
---|---|
74 | |
73 | |
66 | |
64 | |
40 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023