I need to short product collection title short its look massive

Topic summary

Goal: shorten long product titles on the collection/home page in a Shopify store (site shared: zulri.co).

Key solutions offered:

  • Theme.liquid approach: Add custom code near the end of theme.liquid (above ). The posted code block is empty; the exact code appears only in an attached screenshot, so implementation details depend on that image.
  • Template edit (actionable): In product-grid or product-grid-item template, find product.title and change:
    • {{ product.title }} → {{ product.title | truncate: 30 }} to limit to 30 characters
    • Or use {{ product.title | truncatewords: 5 }} to limit to 5 words

Notes:

  • “truncate” shortens to a maximum character count; “truncatewords” limits by word count.
  • Both methods are standard Liquid filters in Shopify and can be adjusted (e.g., 30 chars, 5 words) as needed.

Status: No explicit confirmation of resolution; clear steps provided to implement title shortening. Images are important for the first method’s exact code.

Summarized with AI on January 23. AI used: gpt-5.


i need to short product title in collection home page

my website is zulri.co

Hey @rajsoni5253

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above tag

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Go to Online Store → Theme → Edit Code

Find product-grid or product-grid-item liquid file

Ctrl + F look for product.title

Change {{ product.title }} to {{product.title | truncate: 30 }}

truncate: 30

means title will be cropped after 30 characters. Feel free to change number

You can also use this:

truncatewords: 5

It will crop title after 5 words