Variant Pill with text inside

Solved

Variant Pill with text inside

TBS2023
Shopify Partner
307 1 41
Accepted Solution (1)

AnneLuo
Shopify Partner
1299 228 266

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:

AnneLuo_0-1729749499014.png


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
11608 2276 2456

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: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.

AnneLuo
Shopify Partner
1299 228 266

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:

AnneLuo_0-1729749499014.png


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

TBS2023
Shopify Partner
307 1 41

Hello - The code suddenly no longer works- could you please have a look - Thanks

AnneLuo
Shopify Partner
1299 228 266

I have applied the access. Please accept.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

AnneLuo
Shopify Partner
1299 228 266

I have fixed it for your store. You can check on your online store.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee