Shopify themes, liquid, logos, and UX
Hi,
I have a problem centering the prices under the featured products on the frontpage. They don't seem to align with the product names. I have tried several different codes in theme.css, but none of them seem to work. Can someone help me out here?
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.css file.
#shopify-section-collection .price__regular{
margin-right: 0px !important;
}
Hope this works.
Thanks!
Hello lunamareid!
Add this css at bottom of
Online Store-> Themes -> Edit code->Assets->theme.scss.liquid
.template-index dl.price {
text-align: center;
display: block;
}
Any issue can reach to me.
Thank,
Solution1
Hi! Thanks, but this doesn't seem to work.. 😞
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.css file.
#shopify-section-collection .price__regular{
margin-right: 0px !important;
}
Hope this works.
Thanks!
Thanks! Everything seems good now!
Hello. I'm having that same issue. The pricing for the Featured Collection on my homepage is not left aligning with the rest of the text. The price is right aligned for some reason. I've tried both coding suggested on this board but it does not seem to work. Any suggestions would be greatly appreciated 🙂
Please share your store URL.
Please share your password.
Thanks!
Please add the following code at the bottom of your assets/theme.css file.
.product-single__title {
text-align: center !important;
}
.template-product dl.price {
align-items: center !important;
text-align: center !important;
}
.product__policies {
text-align: center !important;
}
Thanks!
Welcome & thanks again.
User | RANK |
---|---|
125 | |
98 | |
74 | |
72 | |
41 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022