Home Forums WoodMart support forum Increase product title line height

Increase product title line height

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #385823

    cesaicumpar
    Participant

    Hello! When I try to increase product line height with this code

    .wd-entities-title {
    	line-height: 1.4 !important;
    }

    it changes to this: https://imgur.com/a/fCM9J96

    I assume this happens because there is a 2 line limit on desktop (and 3 on mobile).

    How can I increase product title line and also keep the line limit?

    #385936

    Hello,

    The title line limit depends on the line height that’s why its making the bottom line visible when you increase line height.

    Best Regards

    #385942

    cesaicumpar
    Participant

    Then how do I solve this???? This was the point of this topic!!

    How can I increase product title line and also keep the line limit?

    #385944

    cesaicumpar
    Participant

    I want the two lines to be shown, not only one and a half

    #385998

    Hello,

    Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.

    .product-grid-item .product-wrapper .product-element-bottom {
        --title-line-height: 28px;
    }

    Best Regards

    #386000

    cesaicumpar
    Participant

    Thank you

    #386019

    Hello,

    You are Most Welcome.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

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

The topic ‘Increase product title line height’ is closed to new replies.