This topic has 12 replies, 4 voices, and was last updated 2 years, 4 months ago ago by Awais Ahmed
hello, how to resize the color swatches size ?
on mobile-tablet-desktop ?
site url :
diollo.store
Hello,
Add this code in Theme Options > Theme custom CSS > Global:
.single-product ul.st-swatch-size-large li.type-image {
width: 60px;
height: 60px;
}
Regards
worked only for the image field, i want to all the swatches to be resized
Ok, change the code to:
.single-product ul.st-swatch-size-large li {
width: 60px;
height: 60px;
}
Regards
worked nicely
how i can do it in the shop page the little ones under the title ?
also how to make inline (not above each other) in single product
Hello,
ul.st-swatch-size-normal li {
width: 25px !important;
height: 25px !important;
}
.single-product .et_product-block table.variations tr {
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
}
Regards
Hi I have applied this code but it has not increased the text within the variation box, and it is not centre aligned. can you please tell me the code to increase the text and centre align it in the box? Please see website below
Hello, @bagshaw50,
Please copy and paste the below-given CSS code to XStore >> Theme Settings >> Theme Custom CSS and under Global Custom CSS if you want to apply it on all the versions of the site like Desktop, Mobile, or Tablet.
And if you want to apply it only on Mobile then paste it under Mobile Custom CSS.
You can change the Font Size in the below given code as per your requirements.
ul.st-swatch-size-normal li.type-label span {
font-size: 30px !important;
}
Regards 8Themes Team.
any idea why the code isnt working
its creating a bigger white space instead of increasing the variation size
Hello, @bagshaw50,
The Code I gave you was for the Shop/Category pages as I also showed in the provided screenshot as well, but now you want to increase the size on the single product page, so you have to try with the below given Code.
ul.st-swatch-size-large li.type-label span {
font-size: 25px !important;
padding: 5px !important;
}
Regards 8Themes Team.
perfect thanks
If you do not mind, can you please leave a 5 stars rating for our Theme & Customer and Technical Support by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot. If you like our Theme and Support.
Thanks for contacting us.
Have a great day?
Topic Closed.
You must be logged in to reply to this topic.Log in/Sign up