Shopify themes, liquid, logos, and UX
Hi
I am looking at how to make the border of the variant labels smaller, without changing the text.
It looks to "much" as it is now.
BR. Kim
code: eathay
Solved! Go to the solution
This is an accepted solution.
Please add the following code at the bottom of your assets/theme-product.min.css
.template-product .form-swatch-item {
position: relative;
display: inline-block;
text-align: center;
width: 15% !important;
}
.template-product .swatch-other .form-swatch-item label {padding: 3px 3px 3px 3px !important;}
Thanks!
sorry for that issue i can't see please share product url so i will guide you
Could you please provide a screenshot?
Hi,
can you please provide a screenshot where you want to change it?
So, I will help you to solve it.
Thank you.
This is an accepted solution.
Please add the following code at the bottom of your assets/theme-product.min.css
.template-product .form-swatch-item {
position: relative;
display: inline-block;
text-align: center;
width: 15% !important;
}
.template-product .swatch-other .form-swatch-item label {padding: 3px 3px 3px 3px !important;}
Thanks!
User | RANK |
---|---|
175 | |
157 | |
77 | |
31 | |
30 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023