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
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025