ellipses in all product titles
-
Hello.
I have set the number of product title lines to 2.
How do I make it so that when the title does not fit in two lines, the ellipses are shown?
(I think it should be a selectable option in woodmart).
Thanks
Hello,
Go to theme setting > Product Archive > Product styles > Set the product lines limit.
Screenshot for clarification:
https://postimg.cc/tshsXRmh
Best Regards.
That’s not what I asked. Could you read the question properly?
Thanks
Hello,
Try to add the following code in Theme Settings < Custom CSS > Global Custom CSS:
.product-grid-item h3.wd-entities-title {
display: -webkit-box;
-webkit-line-clamp: 1; /* Number of lines to show */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
Best Regards.