Refresh theme how to limit view of product title text

1 0 0

Hi there.


how to show only 50 latter on product title on Shopify refresh theme. Or show only two lines.


Reply 1 (1)

Shopify Partner
5588 1261 1206

Hello @Vocxa ,


It's the GemPages Support Team and we are glad to assist you today!


I would like to give you the recommendation to support you so kindly follow the steps below:


1. Go to Online Store > Theme > Edit code of your current theme


2. Open your theme.liquid theme file

3. Paste the below code before </head>

.card-wrapper .card__heading a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 37px;


Let us know how it works for you.


Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business

- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center