Shopify themes, liquid, logos, and UX
Like this. Not the complete title just first few words then the "......."
Link:- https://5d920b-85.myshopify.com/
Hi @salmanwanix
Try adding the below properties to you title element
.your-title-element-class{
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
Replace "your-title-element-class" with your title's class.
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
Can you please tell me where exactly will I find the title element to make the above change.
Hi @salmanwanix
Please share your store URL so that I can provide you exact code
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
@salmanwanix
Try adding the below code to end of "base.css" file
.collection h3.card__heading a {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
height: 36px;
}
This will reflect in all the product cards.
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025