Is there a way of adding `space...` to the end of incomplete search result extracts

2 Kommentare

  • Ifra Saqlain
    Aktionen für Kommentare Permalink

    You can do this:

    Fix width of your search result description div not title div and add this CSS property. When your search result description is too long and will go out of div then there would be show dots as you want.

    .search-result-div {
      text-overflow: ellipsis;
      /* Required for text-overflow to do anything */
      white-space: nowrap;
      overflow: hidden;


    Thank You


  • Noah
    Aktionen für Kommentare Permalink

    Hi, thanks, this is a great solution and worked perfectly


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk