WordPress.org

Ready to get started?Download WordPress

Forums

Scroll Triggered Boxes
[resolved] Doesn't work with W3 total cache (4 posts)

  1. wp83
    Member
    Posted 5 months ago #

    Pretty great plugin Danny. Thank you. There is one issue I am running into though. Was wondering if you can help.

    Essentially Scroll box doesn't appear as soon as I turn on W3 Total Cache (JS minification). stb div starts at display:none and stays there.

    I have tried turning off JS minification and then it does work. However wouldn't disabling JS minification impact performance significantly?

    Here are settings I am using currently - http://imgur.com/hzQ56rd

    stb settings - http://imgur.com/PUfASgb

    Please help.

    https://wordpress.org/plugins/scroll-triggered-boxes/

  2. wp83
    Member
    Posted 5 months ago #

    Another input if that helps. If I change JS settings from minify to combine, plugin starts working. Guess JS minifying breaks the plugin.

    I would love if I don't have to sacrifice JS minifying. Can you please look into this and see if something can be done.

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 5 months ago #

    Hi there,

    You should manually configure your minify settings as you're probably using "Auto Minify". This sometimes messes with the order in which scripts are loaded and thus breaking scripts.

    The scroll triggered boxes JavaScript file should be loaded as one of the last files, just before the closing </body> tag.

    I will look into ways to prevent this issue from within the plugin as well.

    Hope that helps!

    Danny

  4. wp83
    Member
    Posted 5 months ago #

    Thank you

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.