• Resolved AJD

    (@ajd)


    I’m using the Jetpack slideshow and it looks great, however my images all have a long caption that is being cut off. Is it possible to adjust the Jetpack slideshow to accommodate long captions?

    Also, the responsive version of plugin I see sets widths via javascript on page reload, but it does not properly resize the height, leaving a large margin (or some kind of space) at the top of each image.

    Thanks

    AJ

    https://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m using the Jetpack slideshow and it looks great, however my images all have a long caption that is being cut off. Is it possible to adjust the Jetpack slideshow to accommodate long captions?

    I’m afraid that’s not possible right now, but in the future you’ll be able to define specific sizes for slideshow images. That should help you. You can follow our progress here:
    https://github.com/Automattic/jetpack/pull/2202

    it does not properly resize the height, leaving a large margin (or some kind of space) at the top of each image.

    That’s done on purpose, to avoid squeezing or stretching images to fit into a specific height. If you were to set a specific height, all images would have to use the same format.

    Thread Starter AJD

    (@ajd)

    Hi Jeremy, thanks for the reply.

    I look forward to the updates. In the mean time, I got it to look okay with some css:

    .content .slideshow-slide-caption {
      background: #222 none repeat scroll 0 0;
      bottom: 0;
      font-family: Lato, sans-serif;
      font-size: 16px;
      height: auto;
      left: -20px;
      line-height: 20px;
      padding: 10px 20px;
      position: relative;
    }
    .content .slideshow-window {
      margin-bottom: 120px;
    }

    It is not entirely perfect and requires several responsive breakpoints to adjust the .slideshow-window margin, but better than broken captions.

    -AJ

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Larger slideshow captions & responsive height’ is closed to new replies.