Meteor Slides
[resolved] disabling the stylesheet (4 posts)

  1. eagerbob
    Posted 3 years ago #

    I am using meteor slides on several pages of a site I just finished:

    slideshows are simple fade-in fade-out slideshows without navigation.

    I am now cleaning up the site, removing things I do not need. I removed the meteor-slides.css from the plugins folder and the slideshows seem to work just fine. However, the script is still trying to load the stylesheet, resulting in an unneccesary HTTP request.

    My question: How can I prevent this?



  2. Josh Leuze
    Plugin Author

    Posted 3 years ago #

    Don't remove any of the files from the plugin, it won't work correctly and when you update the plugin the files will just get added back in anyway.

    If you need to change the stylesheet, you can use a custom stylesheet in your theme instead.

  3. eagerbob
    Posted 3 years ago #

    Thanks Josh, I already placed the file back in place.
    It seems a bit unneccesary, but hey, if it works it is ok.

    And it works well enough, I tweaked the site a bit for speed, bringing the load time back to well under a second which is fine for an image-heavy site with webfonts, videoplayer, several slideshows and lots of overhead from "social" networks.

    archived load time test: http://tinyurl.com/cpr76u3

  4. Josh Leuze
    Plugin Author

    Posted 3 years ago #

    There is some extra CSS in there you don't need if you don't have navigation activated, but there are also a lot of rules that help layout the slideshow correctly in different browsers and help with edge cases, like if JavaScript is disabled, only the first slide should show instead of all the slides.

    That's awesome, it looks like you've got it running pretty quickly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic