This topic has 6 replies, 3 voices, and was last updated 3 months ago ago by Andrew Mitchell
Hi
In the product category page , I use the variation swatches.
I want to align the variations of different products.
Now I use the title align CSS in the elementor as below, but it doesn’t work.
`/* Media Query for mobiles */
@media (min-width: 320px) and (max-width: 767px) {
h2.woocommerce-loop-product__title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
height:70px
}
}
Please find the details in attachment.
Thank you
Hi @vera,
Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:
@media (max-width: 600px){
.st-swatch-in-loop {
min-height: 73px;
}
}
Hope it helps!
Hi
Thanks for your response and sharing the CSS code.
The code dosen’t work and the variation swatches still can’t be aligned.
Hi @vera,
This is how it looks on our end: https://www.awesomescreenshot.com/image/50089946?key=33d64245279408e2ec8476dda6f091a3.
Did you also clear the caches?
Best Regards,
The 8Theme Team.
Hi
I cleared the cathces and now it displays correctly.
Thanks for your help !
Dear vera,
As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?
Click here to share your valuable perspective: https://themeforest.net/downloads
Your time and trust are highly appreciated!
Best Regards,
The 8Theme Team
The issue related to '‘How to align the variations of different products in product category page’' has been successfully resolved, and the topic is now closed for further responses