Reply 329720 to: Product Title Limit By Line does not work

Avatar: Awais Ahmed
Awais Ahmed
Participant
July 15, 2022 at 05:26

Hello, @ubi1907,

In order to change the line of text of the product title simply go to the Dashboard >> XStore >> Theme Options >> Theme Custom CSS and then paste the below code there.

.etheme-product-grid-title{display: -webkit-box !important;
    line-height: 1 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

Then save settings and check back to your site after clearing the browser cache.

Note: In the above line the code “-webkit-line-clamp: 2 !important;” the word “2” is the line you can change it with you want.

Regards 8Themes Team.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.