Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
This is an accepted solution.
@iamdawnumcm
Apply below css code into base.css file(online store->themes->base.css)
.price__sale {
justify-content: center !important;
}
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >base.css and paste this at the bottom of the file:
.price.price--on-sale .price__sale {
justify-content: center;
}
Screenshot :- https://prnt.sc/q6Sx-Ay7464o
This is an accepted solution.
@iamdawnumcm
Apply below css code into base.css file(online store->themes->base.css)
.price__sale {
justify-content: center !important;
}
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >base.css and paste this at the bottom of the file:
.price.price--on-sale .price__sale {
justify-content: center;
}
Screenshot :- https://prnt.sc/q6Sx-Ay7464o
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
Hi @iamdawnumcm ,
This is Victor from PageFly - Landing Page Builder App.
You can go to Online store => themes => actions => edit code and add this code on file base.css
.price--on-sale .price__sale{
justify-content: center;
}
Hope this answer helps.
Best regards,
Victor | PageFly
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025