Shopify themes, liquid, logos, and UX
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
Solved! Go to the solution
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
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
Thank you so much
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025