Hi,
On impulse theme, is there a way to make the product tile titles 1 line max. and if the product title exceeds the length it will show as “…” at the end instead of continuing to a 2nd line under it
Kind regards
Limit product tile titles in the Impulse theme to one line with an ellipsis. The proposed fix is adding CSS in theme.liquid to clamp titles: overflow hidden, text-overflow: ellipsis, display: -webkit-box, -webkit-line-clamp: 1, and -webkit-box-orient: vertical.
Key details in the shared CSS: it also applies text-transform: uppercase, reduces font size, and adds letter-spacing. This works visually but unintentionally changes typography/style.
Issues raised: the OP notes the fix altered fonts/styles and did not work on mobile. Another participant confirms it works for them. A helper requests the live page URL to provide a version-specific code that works properly.
Technical notes:
Actions suggested: share the store’s live URL; adjust the CSS to remove typography changes (uppercase, font-size, letter-spacing); ensure the selector targets both desktop and mobile title elements; place CSS in theme.liquid (before or above ) per theme needs.
Status: open; no finalized code that preserves original styles and works on mobile has been provided yet.
Hi,
On impulse theme, is there a way to make the product tile titles 1 line max. and if the product title exceeds the length it will show as “…” at the end instead of continuing to a 2nd line under it
Kind regards
Hello @troydewitt
You can add code by following these steps to make title in one line and if exceeds then show …
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Hi @troydewitt
This is Victor from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the
Hope this can help you solve the issue
Best regards,
Victor | PageFly
Hi, this seemed to work but it changed the font and style of my titles too. Any way to just change the lines without other things?
Hi, thanks for your reply! On mobile, this did not do the job. Do you have any code to make the product tiles’ title 1 line max on both mobile and desktop?
@waldewit
Maybe the theme version is different, please help me to send the live page URL, i will give you another code that will work properly.
Thank you
works , thank you
works, thank you