I haven’t actually tested the slideshow with only one slide, but I can see how that problem could come up with your site. I’ll test it and see if I need to make some changes for a single slide.
It looks like you’ve added more slides to the single slide posts, do you have any other posts with just one slide that I could check out?
Removing the navigation from a specific slideshow can be done with just CSS. But you would need it to be dynamic and work on any slideshow, I think you could do that with some jQuery, count the number of slides and add hide the navigation it equals one.
I love the nav arrows, those are awesome!
Thanks for the reply. I’m no jQuery champ, but I figured that would be my only option.
If only CSS would cascade backwards.
Here’s one of the single-slide shows: Blossom Hill
I did modify the original php file to get my nav arrows out of the slideshow div for styling purposes, which is probably why I’m having trouble now.
I got it to work with some help from a friend. Really simple stuff.
jQuery(document).ready(function() {
var mycount = jQuery('.meteor-slides > .mslide').size();
if (mycount < 2) {
jQuery('#meteor-nav-new').css('display', 'none');
}
});
Sweet, thanks for sharing your solution, that will come in handy!