Home Forums WoodMart support forum ellipses in all product titles

ellipses in all product titles

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #491378

    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

    #491424

    Hello,

    Go to theme setting > Product Archive > Product styles > Set the product lines limit.
    Screenshot for clarification:
    https://postimg.cc/tshsXRmh

    Best Regards.

    #491489

    That’s not what I asked. Could you read the question properly?

    Thanks

    #491634

    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.

Viewing 4 posts - 1 through 4 (of 4 total)