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 |
---|---|
73 | |
66 | |
56 | |
55 | |
42 |
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