Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Variant Picker

Solved

Variant Picker

Jordhen
Tourist
11 0 0

So the theme for the website I have chosen is Craft. I want my variant picker to be a proper rectangle and not a rounded rectangle. I have tried setting the border radius to 0px but it still shows a rounded rectangle. Also how would I enable swatches for my colour variant. Could someone please help me.

 

Website link : https://sitharr.myshopify.com/products/tee-shirt

Accepted Solution (1)

theycallmemakka
Shopify Partner
1743 424 443

This is an accepted solution.

Hi @Jordhen 

Follow these Steps to remove rounded corner:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

<style>.select:after{
    border-radius: 0px;
}
.field:hover.field:after, .select:hover.select:after, .select__select:hover.select__select:after, .customer .field:hover.field:after, .customer select:hover.select:after, .localization-form__select:hover.localization-form__select:after {

    border-radius: 0px!important;
}

.select__select:focus{
    box-shadow: none;
}
</style>

 

For the color swatch, we will have to make changes to the theme code. This will require custom development as the craft theme doesnot support swatch by default.

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 2 (2)

theycallmemakka
Shopify Partner
1743 424 443

This is an accepted solution.

Hi @Jordhen 

Follow these Steps to remove rounded corner:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>

<style>.select:after{
    border-radius: 0px;
}
.field:hover.field:after, .select:hover.select:after, .select__select:hover.select__select:after, .customer .field:hover.field:after, .customer select:hover.select:after, .localization-form__select:hover.localization-form__select:after {

    border-radius: 0px!important;
}

.select__select:focus{
    box-shadow: none;
}
</style>

 

For the color swatch, we will have to make changes to the theme code. This will require custom development as the craft theme doesnot support swatch by default.

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

Jordhen
Tourist
11 0 0

Thank you so much