Shopify themes, liquid, logos, and UX
Hello
I would like my 'Size' variant button to be like this
https://www.thebodyshop.mu/collections/foundations-concealers/products/fresh-nude-foundation-1
instead of like this
https://the-body-shop-nordic.myshopify.com/collections/make-up-1/products/fresh-nude-foundation
ubahdo
Solved! Go to the solution
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag
<style>
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label {
border-radius: unset !important;
text-indent: unset !important;
width: 90px !important;
text-align: center !important;
}
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label::before{
content: unset !important;
}
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label::after{
content: unset !important;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
I guess it has option to set Size is not color swatch option some where in your theme settings.
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag
<style>
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label {
border-radius: unset !important;
text-indent: unset !important;
width: 90px !important;
text-align: center !important;
}
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label::before{
content: unset !important;
}
#ProductSelect-template--23621779816779__main-10273838104907-option-size-30ml + label::after{
content: unset !important;
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hello - The code suddenly no longer works- could you please have a look - Thanks
I have applied the access. Please accept.
I have fixed it for your store. You can check on your online store.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025