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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024