Remember me

Short description

7 years 10 months ago #1

  • Patrick's Avatar
  • Patrick
  • Posts: 31
Hi,

His it a way to change the nb of characters shown in the short description which appears on mouse over thumbnails ?

Thank you.

Regards

7 years 10 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hi,

I'm sorry but no. Gallery display all text which you have entered into the field "Short Description". What can be the reason, to limit the short description?!

I want to notice, description under Image in the lightbox and Short description it's absolutely different fields, and that's why we didn't set any limitation for Short description. If you need to display 10 words you need to enter no more than 10 words :)

Regards,

7 years 10 months ago #3

  • Patrick's Avatar
  • Patrick
  • Posts: 31
Thank you for your answer.

But the text entered in short description is :
METALCO continue l’innovation en repoussant les limites du beton! Une trentaine de nouveaux produits utilisant les techniques les plus abouties pour obtenir des produits fins, allégés, subtils, tout en répondant aux contraintes de robustesses et de pérennité nécessaires.

The screenshot show that the end of the sentence is truncated :(
Attachments:

7 years 10 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hi,

here is can be 2 solutions:
1. Reduce your text in field Short Description

2. Open your template custom.css file and add this code
.short-description {
    display: block;
    display: -webkit-box;
    height: 4em;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

Regards,

7 years 10 months ago #5

  • Patrick's Avatar
  • Patrick
  • Posts: 31
I've tried the first one ( which is the best for me, but not for my client :cheer: )

I'll try the second one asap.

Thanks for your help and your incredible speed !
Powered by Kunena Forum