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
Learn what's possible with customizing Shopify Checkout beyond what's available out of...
By Shopify Feb 19, 20252m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025