How to Adjust Woocommerce Product Title Length?

This topic has 3 replies, 2 voices, and was last updated 2 years, 5 months ago ago by Hostelion Digital

  • Avatar: Hostelion Digital
    Hostelion Digital
    Participant
    July 9, 2022 at 20:15

    Dear 8Theme,

    I am trying to adjust the Product Title Lenght in order to make the products look inline not decalated like now: https://prnt.sc/evGplYKPsUcF And I’ve used this code and still doesn’t work:

    h2.product-title
    {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 40px;
    }

    Could you help? Thanks a lot!

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 10, 2022 at 07:01

    Hello,

    Theme Options > WooCommerce > Shop > Prodcuts style > Product Title Limit

    Try to use custom CSS code from this topic – https://www.8theme.com/topic/problem-with-products-layout-in-shop-page/#post-316130

    Regards

    Avatar: Hostelion Digital
    Hostelion Digital
    Participant
    July 10, 2022 at 13:49

    Hello, Amazing – it worked! Thanks a milion!!! <3

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘How to Adjust Woocommerce Product Title Length?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.