This topic has 4 replies, 2 voices, and was last updated 1 years, 10 months ago ago by Rose Tyler
Hi,
I’ve the following issues with bought together feature:
1) Adding border to bought together wrapper but no border appears in single product page:
https://prnt.sc/cDVcd4MOK6FV
2) Differences in height of products on bought together list:
https://prnt.sc/Oto6SW-3DpJ7
I’ve found a piece of code on other 8theme topic, but this code only fix the differences in height at shop page. Can you modify the code so it will also work on bought together products.
.main-products-loop .product, .products-loop .product, .carousel-area .product-slide .product {
display: flex;
justify-content: center;
}
.products-loop .ajax-content, .products-loop {
display: flex;
flex-wrap: wrap;
flex: 1;
}
.content-product {
flex-direction: column;
justify-content: space-between;
display: flex;
flex: 1;
}
.content-product .quantity-wrapper {
margin-right: auto;
margin-left: auto;
}
.swiper-container {
display: flex;
align-items: stretch;
}
.product-slide .product {
display: flex;
height: 100%;
}
.swiper-wrapper {
height: auto;
}
Regards.
Hello, Farcela,
1/ It seems that we missed a few more options for border styles and border colors to add for that element. We will add them in the next theme update and already uploaded them in core files on your web-site -> https://prnt.sc/5YC9taUe8d3V
2/ There is no good coding solution for that case. You may align items by center using next code snippet:
.bought-together-products .swiper-wrapper {
align-items: center;
}
Let us know if it helped or if you have any further questions or concerns. We are always here to help.
Kind Regards,
8theme team
Hi Rose,
1/ Thanks for the update!
2/ Unfortunately the code didn’t work.. even after adding !important to it. Do you know why?
Thanks.
regards
Hello, Farcela,
Sorry for the mistake, there should be align-items: center; instead if align-items: stretch;
It is already fixed in the answer above.
Kind Regards,
8theme team
Tagged: bought together, issues, single-product page, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up