Happening now! Shopify Community AMA: Building a Marketing Budget with 2H Media | Ask your marketing budget questions now!

How can I change size variants in Dawn theme?

How can I change size variants in Dawn theme?

Manuelps96
Visitor
2 0 1

Hello,

 

I need help changing my size variants in Dawn theme.

Right now I have it like this 

Screenshot 2023-02-18 at 10.53.39.png

 

And I was looking to have something like this.

 

Screenshot 2023-02-18 at 10.54.48.png

 

Does any one know  how I can do this or if there is any app I can install?

THanks in advanc e

Replies 2 (2)

gr_trading
Shopify Partner
2044 149 206

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;}

 

For any custom development WhatsApp or connect at Email ID: support@grtrading.in for quick consultation. | Shopify Free codes
To support Buy Me a Coffee

GemPages
Shopify Partner
5625 1262 1279

Hello @Manuelps96 ,

 

1. Go to Online Store->Theme->Edit code

GemPages_0-1676951789907.png

2. Open your theme.liquid file, paste the below code before </body>

GemPages_1-1676951814097.png

    <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

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center