Hey, thanks for reaching out!
One option is to use CSS similar to this:
@media (max-width: 440px) {
h2.woocommerce-loop-product__title {
min-height: 120px;
}
}
@media (max-width: 500px) {
h2.woocommerce-loop-product__title {
min-height: 90px;
}
}
@media (max-width: 760px) {
h2.woocommerce-loop-product__title {
min-height: 65px;
}
}
@media (min-width: 760px) {
h2.woocommerce-loop-product__title {
min-height: 80px;
}
}
Add the above code to Customize> Additional CSS. You may be able to adjust the above CSS to improve the look, but that should help.
Let me know if that works for you.
Best,
Kevin
Hi @jx-3p. Thank you very much for the code. That works for PC view but didnt make a difference for mobile view. I tried Chrome and Safari on my iPhone. Could you help with that too if you dont mind? Appreicate your support.
Ibrahim
Hi again. I actually fixed it with the following code. Thanks for the support.
Have a blessed day!
Ibrahim
@media(max-width: 1200px){
.product .woocommerce-loop-product__title {
min-height: 120px !important;
}
}
-
This reply was modified 4 years, 4 months ago by
apeironftw.
-
This reply was modified 4 years, 4 months ago by
apeironftw.
Awesome! Glad to hear that you were able to find a solution.
Don’t hesitate to reach out if I can help with anything else!
Thanks,
Kevin