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


2 Commentaires

  • Ifra Saqlain
    Community Moderator

    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

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


Vous devez vous connecter pour laisser un commentaire.

Réalisé par Zendesk