Shopify themes, liquid, logos, and UX
would like to make the variant boxes smaller.. can you help with this?
Hello @Cameronrikko
Go to online store ----> themes ----> actions ----> edit code ---->Theme.css
add this code at the end of the file and save.
label.block-swatch {
height: 30px !important;
width: 15% !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
is it possible to make the text inside smaller and the add to cart thinner/quanity box smaller too.
thanks
Go to online store ----> themes ----> actions ----> edit code ---->Theme.css
add this code at the end of the file and save.
@media screen and (min-width: 700px) {
label.block-swatch {
height: 35px !important;
width: 14% !important;
font-size: 15px !important;
}
button.button.button--xl.button--secondary {
height: 56px;
}
.button--xl {
padding-block-start: 0.75rem;
}
quantity-selector.quantity-selector {
height: 40px !important;
width: 9rem !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
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