This topic has 12 replies, 3 voices, and was last updated 7 years, 1 months ago ago by Rose Tyler
Hello ,
I need to level up horizontally all of the products in the line.
https://prnt.sc/he63pp
I use plugin “WooSwatches – Woocommerce Color or Image Variation Swatches” for your recommendation but I have some problem. When I’m adding different colors in one type of product I can attach to them only 1 photo. In this way when I choose different color in one type of product, 1 photos changing and on the second photo product always stay in the main color. What can I do to have an opportunity of adding 2 or 3 photos of different colors or to second photo disappear.
https://prnt.sc/he6r31
Thanks
Hello,
1) Products do not have the fixed height, that’s why if your products have the different number of colors then the height of products is different and add to cart button is not aligned. You can either enable masonry grid option in Theme Options > E-Commerce > Product Page Layout then products from the next line will be displayed below the products from the previous line without white space. Or you can add custom height or min-height for your products and align button using custom CSS, but don’t forget about responsive breakpoints.
2) It’s plugin territory. Contact plugin author about these features. We don’t have options to implement this.
Regards
Thanks for your answer, can you provide me css code for this?
1) I make request in the link, but nobody respond me. Can you tell me what css class I have to custom to have all product aligned.
2) Is this plugin compatible with the theme?
https://woocommerce.com/products/woocommerce-additional-variation-images/
Thanks
Hello,
1. Please provide link to your site.
2. Read this topic https://www.8theme.com/topic/use-default-woocommerce-gallery/
Regards
in private content link to my site. thanks
Please try to add this code in Theme Options > Styling > Global Custom css:
.content-product .product-title {
height: 45px;
}
.content-product .price {
margin-bottom: 34%;
}
.shopswatchinput {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 13%;
}
@media screen and (max-width: 1200px) {
.shopswatchinput {
bottom: 8%;
width: 100%;
}
}
@media screen and (max-width: 480px) {
.shopswatchinput {
bottom: 16%;
}
.shopswatchinput .wcvaround, .wcvaswatchinput {
width: 18px !important;
height: 18px !important;
}
}
Regards
Thank you very much. I appreciate it. but now we have other problem, the white space in the products who don’t have the color variation looks very bad, exist any solution for this?
https://prnt.sc/hf3rc8
Hello,
Sorry for the delay due to the weekends.
Please try to change previous code to:
.content-product .product-title {
height: 45px;
}
.content-product .price {
margin-bottom: 13%;
}
.shopswatchinput {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 11%;
width: 100%;
}
@media screen and (max-width: 1200px) {
.shopswatchinput {
bottom: 9%;
width: 110%;
}
.content-product .price {
margin-bottom: 17%;
}
}
@media screen and (max-width: 480px) {
.shopswatchinput {
bottom: 18%;
}
.shopswatchinput .wcvaround, .wcvaswatchinput {
width: 18px !important;
height: 18px !important;
}
.content-product .price {
margin-bottom: 40%;
}
}
If you have any questions about additional customization you can contact WP-Kraken team.
Regards
thank you very much, its work perfect. great support
You’re welcome!
Let us know if you need any further assistance.
Regards
The issue related to '‘Some questions’' has been successfully resolved, and the topic is now closed for further responses