Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am using Theme: Heritage V1.0.3 working on my product page in the theme editor and having issues with the variant picker not allowing size selection.
Specifically, I have selected the "Button" variant picker but it does not allow the sizes to be selected. I have also tried changing the variant picker from "Button" to "Dropdown" and it works. But when I update it back to "Button" the issue is still occurring.
Please advise how I can enable the "Button" variant picker to allow the sizes to be selected.
Solved! Go to the solution
This is an accepted solution.
Okay, so in your style.css file from the code editor add this at the very bottom of everything.
.variant-option__button-label:has(:checked){
background-color: #F3CD74;
}
Your site is working well its just the background color of the selected size is set to white which feels like its not working. But it is working fine and the right size and color gets added to the cart. Add this, this will show the size that is selected. You just didn't use the right color, that's it.
Please share your store url to check the issue.
My store is currently lock with password, how am I able to provide the access to check the issue?
Store URL: pantheramuse.com
You can share the password as well. You will find it under settings and users and permissions or may be in general.
Or above your published theme you will see a yellow bar, click that and it will take you the the password field.
Hi there, I have unlocked my store. Seek your kind expertise in checking the issue.
Its still asking for the password.
Hi, you can try now. It’s unlocked
Yes i see the site now.
This is an accepted solution.
Okay, so in your style.css file from the code editor add this at the very bottom of everything.
.variant-option__button-label:has(:checked){
background-color: #F3CD74;
}
Your site is working well its just the background color of the selected size is set to white which feels like its not working. But it is working fine and the right size and color gets added to the cart. Add this, this will show the size that is selected. You just didn't use the right color, that's it.
Hi, can i know which section i should be adding this to? Is this referring to the theme settings -> Custom CSS?
Yes you can add it there but i was referri g to the code editor. So click the three dots button and click on edit code. then look for style.css file and the code i provided at the very bottom. You can try adding that under theme settings -> Custom CSS ass well
Adding under the Custom CSS works! Thank you so much for your help Shadab, i really appreciate it!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025