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
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025