Design posts - by ogonekSD - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 3 years ago ago by Olga Barlow

  • Avatar: ogonekSD
    ogonekSD
    Participant
    November 1, 2021 at 14:58

    Using Edit Product > Product short description. THeme Options > WooCommerce > Shop > Products style > Show Excerpt In Content Product and Excerpt Length (Symbols)
    Can’t align product description – screenshot https://ibb.co/DzNNN96https://ibb.co/DkWtWcs
    Or is there another way?

    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 1, 2021 at 15:17

    Hello,

    Provide URL and screenshot – https://gyazo.com/3278dce9a5a0272ce0a8f3ff3bdda23d

    Regards

    Avatar: ogonekSD
    ogonekSD
    Participant
    November 1, 2021 at 15:21
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 1, 2021 at 17:33

    Hello,

    Add the below code to page custom CSS

    .product-excerpt p {
        line-height: 2.5ex;
        max-height: 20ex;
        overflow: hidden;
    }

    Regards

    Avatar: ogonekSD
    ogonekSD
    Participant
    November 1, 2021 at 18:32

    unfortunately this does not align the product description text and, as a result, the button below …

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 2, 2021 at 08:20

    This is the expected result after adding the code – https://prnt.sc/1y5077s
    Have you added the code? Where did you add it? Provide temporary wp-admin access.

    Regards

    Avatar: ogonekSD
    ogonekSD
    Participant
    November 2, 2021 at 09:30

    Added to the global ones and everything worked out, another question is how to shorten the description of product categories in the same way?
    https://здоров74.рф
    https://ibb.co/hDXsKQR

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 2, 2021 at 15:34

    Hello,

    If you chose the Primary category in the product settings https://prnt.sc/1y699wq then only that category will appear on the grid. Or you can disable categories at all in Theme Options > WooCommerce > Shop > Product styles.

    You can also limit the category’s height using the code below but then your categories will be cut off, so I would recommend you to choose the primary category in the product settings.

    .template-container .content-product .products-page-cats {
        line-height: 2.5ex;
        height: 2.5ex;
        overflow: hidden;
    }

    Regards

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

The issue related to '‘design posts’' has been successfully resolved, and the topic is now closed for further responses

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