Hi, I am trying to align the sold out/sale badges to the center but I cant seem to do it.
Topic summary
A user seeks help centering sold out/sale badges on their Shopify store using the Taste theme.
Initial Solution Provided:
- Navigate to Online Store > Themes > Assets folder
- Open main.css (or base.css/style.css)
- Add CSS code targeting
.product-card-wrapper .card__badge.rightwithjustify-self: center
Follow-up Questions:
The original poster returns with two additional centering requests:
- Center-aligning an ‘Explore new styles’ heading
- Center-aligning footer copyright text
Second Solution:
- Use same CSS file editing approach
- Add code targeting
.collection__title h2.title.inline-richtextwithtext-align: center
Both solutions involve adding custom CSS to the theme’s stylesheet. Screenshots were shared showing the issues and results. An unrelated user briefly interrupts asking for contact information.
Hi @zoeng
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
Hello thanks for the prompt response. I have not gotten a domain, it is this for now: https://764714-d3.myshopify.com/
password: thowse
Thank you, I am just starting up.
Thanks for the info, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.card-wrapper.product-card-wrapper .card__badge.right {
justify-self: center;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hello, its me again. I have another 2 simple things that needs help.
How do I position ‘Explore new styles’ to center align and adjust my footer copywriter liner at the end to center align as well? I am having trouble finding the right class to begin with.
How can I contact you I need some help
Yeah sure check this one.
Same Instruction. The last last curly bracket that you see } paste the code after.
.collection__title h2.title.inline-richtext {
text-align: center;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @56brands
You can PM me anytime, or visit our store, which you can find in my signature below. Thank you, and I hope you get in touch soon!




