This topic has 8 replies, 3 voices, and was last updated 3 years ago ago by Olga Barlow
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?
Hello,
Add the below code to page custom CSS
.product-excerpt p {
line-height: 2.5ex;
max-height: 20ex;
overflow: hidden;
}
Regards
unfortunately this does not align the product description text and, as a result, the button below …
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
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
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
Tagged: design, persuasive, posts, themes, woocommerce, wordpress
The issue related to '‘design posts’' has been successfully resolved, and the topic is now closed for further responses