This topic has 7 replies, 2 voices, and was last updated 3 years ago ago by franked
I created an attribute with different terms because I have a variable product. In the Xstore (airpods) demo the attribute image is much bigger than when i created the attributes.
For example I have included an imgur link where you can see the difference.
The different sizes: https://imgur.com/a/MvYO9Pl
My question is how can i make the attribute/terms image larger? Would love to hear it!
Hello,
We use custom CSS code on the demo. Provide URL of your variable product and we will help you with the code.
Regards
Thank you i have included the URL in the private content area!
Add the next code in Theme Options > Theme custom CSS:
.single-product .st-swatch-size-large li.type-image {
width: 80px;
height: 80px;
}
Regards
Thank you! Is it also possible to make the line around the swatch thicker and a different color perhaps?
Change color via Theme Options > WooCommerce > Shop elements > Variation swatches > Swatches Border Color
Change code to – https://prnt.sc/20reqgo
border-width: 2px;
Regards
Amazing thank you!
The issue related to '‘Change the image size of an attribute on product page’' has been successfully resolved, and the topic is now closed for further responses