This topic has 3 replies, 2 voices, and was last updated 6 months, 2 weeks ago ago by Alpha111
ajax product tab add to cart not displaying and i want to limit title to 2 lines
Hi @Alpha111,
The add-to-cart buttons will show when you hover on the product item because you select the style of button is :
To make the add-to-cart buttons always show, please select another style of button:
To limit the product title 2 lines, please add the following CSS codes:
.et-tabs-content h2.product-title a {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2;
-webkit-box-orient: vertical;
}
Hope it helps!
its working thanks
The issue related to '‘ajax product tab add to cart not displaying and..’' has been successfully resolved, and the topic is now closed for further responses