Shopify themes, liquid, logos, and UX
Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron
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 |
---|---|
177 | |
156 | |
92 | |
33 | |
30 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023