Support » Plugin: RPS Image Gallery » is there an easy way to get ellipses in the gallery captions

  • Varying caption heights make ugly galleries. I’d like the captions to be shortened using the text-overflow:ellipses style, to be displayed at full when the photo is clicked, but it appears captions are using the <p> style, which is used by the body text of each post on my word press site.

    Is there a work around or is this just not possible to do.

Viewing 1 replies (of 1 total)
  • Plugin Author redpixelstudios


    We understand the layout challenge you are facing but think there may be a more flexible solution.

    Truncating the caption by word or character count may or may not yield equal height rows depending on the fonts used and the letters comprising the caption. The solution also doesn’t provide equal height enforcement regardless of viewport width.

    We suggest a CSS/JavaScript solution instead. In fact, you may be able to apply RPS Image Gallery settings to achieve the desired result. The masonry option can display elements with various heights in an optimal way. Or, you might consider locking the height of the caption and adding a gradient overlay to make the caption fade off. You could even disable the caption entirely in the gallery view and just have it display in the slideshow view.

    Hope you find this information helpful. Let us know if you have further questions.


Viewing 1 replies (of 1 total)
  • The topic ‘is there an easy way to get ellipses in the gallery captions’ is closed to new replies.