Meteor Slides
How do I vertically center images in the slideshow? (2 posts)

  1. dreamgrowers
    Posted 4 years ago #

    Hi JLeuze,

    I was wondering how to vertically align slides that are not quite large enough for the settings?

    For example, most slides I have fit into the dimensions I set, but a few are landscapes and are aligned to the top instead of centered - which looks a little funny in my case.

    Thanks again.


  2. Josh Leuze
    Plugin Author

    Posted 4 years ago #

    There isn't a good way to center things vertically with CSS. You can do it if the images are all the same height, but this won't work with slides that are different sizes.

    The best way to accomplish this would be to switch the slide images from inline images to background images which are super easy to center vertically and horizontally. But this would be a bit of work, you'd need a custom template and stylesheet. Let me know if you want to try it, I can give you more info about how to do it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic