• Hello Josh,

    I saw this correction in includes/meteor-slideshow.php

    if ( $meteor_loop->post_count > 1 ) :

    I made this correction in 1.4 version of your plugin.
    But now it doesn’t work (1.5 version) when you only one slide.
    This slide isn’t displayed because “meteor-shim” image pushes the “mslide” div.
    In this case (only one slide), “meteor-shim” doesn’t have to be displayed and “mslide” must have the css property display block. Then the slide is displayed.

    I coded
    in includes/meteor-slideshow.php this test
    if ( $meteor_count == 1 && $meteor_loop->post_count > 1)

    in css/meteor-slides.css

    .meteor-slides .mslide {
    	display: block;
    	height: 100% !important;
    	margin: 0;
    	max-width: 100%;
    	padding: 0;
    }

    What is the explanation of this new img tag ?

    Thanks for your answer.
    Best Regards
    Emmanuel

    http://wordpress.org/extend/plugins/meteor-slides/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi Emmanuel, thanks for pointing that out and sharing your solution!

    I don’t think I checked the responsive slideshow updates with one slide. That “meteor-shim” image was added because the slideshow needed an inline image to scale properly in responsive designs. The slides are all positioned absolutely, so without this shim image the slideshow doesn’t have any inline content.

    You’re correct that this shim image can be removed when there is just one slide as the slide is inline and can scale the slideshow.

    I will add these updates to the next version of Meteor Slides. In the meantime, add some more slides 😉

    Thread Starter Emmanuel Hesry

    (@manooweb)

    Hi Josh,

    Thanks for your explanation 😉

    We put effectively more than one slide to correct this case.
    We have this case because the website starts and we don’t have all images but we want the slideshow feature to add images easily in the content and animate it a little.

    The website should be online tomorrow 😉

    Best regards
    Emmanuel

    Plugin Author Josh Leuze

    (@jleuze)

    Interesting, I’d like to see how you’re using it. I did update the master on Github with a fix for this for anyone else who needs slideshows with only one slide.

    Thanks for the update!

    Plugin Author Josh Leuze

    (@jleuze)

    You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Meteor Slides] Slideshow with only on slide’ is closed to new replies.