"Recently Viewed Products" Titles I want It To Diminish and Show 3 Dots ...

"Recently Viewed Products" Titles I want It To Diminish and Show 3 Dots ...

Yusa1
Excursionist
46 0 1

Hello,

 

 I'm trying to make the "Recently Viewed Products" To Diminish When there's a lot of words On PC/MOBILE

 

Website - https://avokitchen.com/

 

EXAMPLE 

 

Yusa1_0-1689563064088.png

 

Replies 2 (2)

zaczee
Globetrotter
855 46 42

Hi,

 

We can reduce the title size by customizing the code

 

kgbfashionista
Navigator
345 24 46

You can change your {{ product.title }} to this:

 

{{ product.title | truncatewords: 4, "..." }}

 

Change the number to your preference - this is how many words will be shown before the ...

Feel free to like my post if it was helpful at all