Shopify themes, liquid, logos, and UX
Hi there, I’m running my store on Dawn theme and am trying to make the variant selector pills text smaller because right now the pills text is too large and it makes the pills too large. See image below. Does anyone know the code I can put in base CSS or somewhere to enable me to edit the pills? Thank you <3.
Solved! Go to the solution
This is an accepted solution.
Hi @9INE
We can adjust the size cause it will be squeeze out but we can reduce the padding.
Check this one.
.product-form__input input[type='radio'] + label {
padding: 0.7rem 1rem !important;
}
This is an accepted solution.
Hi @9INE
We can adjust the size cause it will be squeeze out but we can reduce the padding.
Check this one.
.product-form__input input[type='radio'] + label {
padding: 0.7rem 1rem !important;
}
Hello @9INE
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.product-form__input input[type='radio'] + label {
font-size: 1rem !important;
margin: 0.5rem 0.5rem 0.3rem 0 !important;
padding: 0.5rem 1rem !important;
}
I only have 3 options within my variant pills, and this option worked perfectly for me! It makes them fit into a single line.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024