How to limit shop product title ?
Hello,
Pls is there any css code i can use to limit shop product title for woocommerce.
My shop page text title is too long.
I want it limited in two lines and ends of "..." , how can I do it ?
Thank you so much .
Please see pictures below
Comments
Hi,
There is no option to control that, but check if the solution provided by another user would be helpful:
https://forum.muffingroup.com/betheme/discussion/70252/product-description-length#latest
Best regards
thanks but the sulution is for descripition , I need for product title
I came out with an idea that might work.
Please try the following CSS code:
Put it in Betheme -> Theme options -> Custom CSS & JS -> CSS.
Best regards
thank you so much
Thank you , it works fine but seems limited 1 line , is it possible to limet it in 2 lines ? Thank you very much !
Change the height value to e.g. 100px or higher. You need to check when two lines are visible.
Best regards