Shopify themes, liquid, logos, and UX
do you know how to change the outline color and background color for variants pills in dawn theme?
Solved! Go to the solution
This is an accepted solution.
Hello @cj18
It's GemPages support team and glad to support you today.
You can follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<style>
.product-form__input input[type=radio]:checked+label {
background-color: #2d8fdd;
}
.product-form__input input[type=radio]+label {
border: 0.1rem solid #0d5a97;
}
</style>
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
This is an accepted solution.
Hello @cj18
It's GemPages support team and glad to support you today.
You can follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<style>
.product-form__input input[type=radio]:checked+label {
background-color: #2d8fdd;
}
.product-form__input input[type=radio]+label {
border: 0.1rem solid #0d5a97;
}
</style>
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
gempages always comin in clutch. thanks!
thanks
Hi,
This is really helpful! It has worked to change the background colour and the outline colours, however when I hover over the pill the outline colour turns to black is there a way to edit that too please? And the selected Pill colour text.
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