Shopify themes, liquid, logos, and UX
The picture above is the look i am trying to achieve with my product price sections; so the discount price large on top of the before price, and the savings percentage next to the before price.
the store which i want my product price section to look like:
my store link is: https://8jj56s-qy.myshopify.com/
password: qwerty
Thanks in advance for taking the time to look at this. kind regards, mike
Try adding the following css and this should get you close to the picture you provided.
.product-block.product-block--price {
display: flex !important;
flex-wrap: wrap !important;
align-items: center !important;
}
[data-product-price-wrap] {
order: 1;
}
.product__price--compare {
font-size: 16px !important;
color: grey !important;
}
[data-product-price] {
order: 0 !important;
width: 100% !important;
}
.product__price-savings {
order: 2 !important;
color: gray !important;
font-size: 14px !important;
line-height: 1 !important;
}
.product__price-savings font {
line-height: 2 !important;
}
.product__policies {
order: 3 !important;
width: 100% !important;
}
Where do you want me to add this? its giving me errors
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025