Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I need help changing my size variants in Dawn theme.
Right now I have it like this
And I was looking to have something like this.
Does any one know how I can do this or if there is any app I can install?
THanks in advanc e
Hi @Manuelps96 ,
Go to online-store -> edit code -> search for base.css file
put the below code in the very last of the file.
variant-radios .product-form__input {display: flex;}
variant-radios .product-form__input input[type=radio]+label {margin: 0; border-radius: 0; border-right-color: transparent;}
variant-radios .product-form__input label:last-child {border-right: solid 1px #000 !important;}
Hello @Manuelps96 ,
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code before </body>
<style>
.product__info-container .variant-radios .product-form__input input[type=radio]+label {
padding: 10px;
width: 60px;
overflow: hidden;
border-radius: 0px;
margin: 0px !important;
margin-right: 0px !important;
}
.product__info-container .variant-radios .product-form__input {
display: flex;
flex-wrap: wrap;
}
</style>
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025