Solved

How do I make the crossed out compare at price centered above the sale price?

Simon159
Explorer
109 0 21

https://charmente.com/collections/all

The compare at price above the new price is on the left side, i would like to make it more centered. Thank you!

IMG_5638.PNG

Accepted Solution (1)

ZenoPageBuilder
Shopify Partner
1052 203 219

This is an accepted solution.

Hello @Simon159 👋

In Shopify Admin, you can go to Edit theme code, open file theme.liquid and add this code above </head>

<style>
.price-item--regular {
    margin-right: 0 !important;
}
</style>

The result

Screenshot 2024-01-08 at 09.30.28.png

Hope that helps!

 

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com

View solution in original post

Replies 2 (2)

subjectmatter
Shopify Partner
8 0 2

Hey Simon, 

 

You need to change this line of code to have a margin:0

subjectmatter_0-1704680891898.png

 

ZenoPageBuilder
Shopify Partner
1052 203 219

This is an accepted solution.

Hello @Simon159 👋

In Shopify Admin, you can go to Edit theme code, open file theme.liquid and add this code above </head>

<style>
.price-item--regular {
    margin-right: 0 !important;
}
</style>

The result

Screenshot 2024-01-08 at 09.30.28.png

Hope that helps!

 

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com