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!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025