Support » Plugin: Simple Side Tab » Appear after scroll depth

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author srumery

    (@srumery)

    Hello @dantianhealth,

    Thank you for using Simple Side Tab. 🙂

    The plugin does not have a feature to that but with a little CSS and JavaScript, you can pull it off. I found an example that shows how to do it.

    https://stackoverflow.com/questions/15798360/show-div-on-scrolldown-after-800px

    With the example, if you target #rum_sst_tab, that should do it.

    The code would need to be added to your child theme functions.php or a site specific plugin if you have one.

    Thanks for the response, not sure exactly which bit to enter the target (or which example to implement etc. I don’t suppose you could help me pick the right example (or make it a new feature!)?

    Plugin Author srumery

    (@srumery)

    Let me see if I can put something together for you. I’ll be back in a day or two with a follow up.

    Plugin Author srumery

    (@srumery)

    Hello Hello @dantianhealth,

    This might give you what you need. This is a Gist with example code. You will be able to change the scroll height based on your specific needs.

    Let me know how it goes.

    Thanks for taking the time to do this. I’m looking forward to testing it.
    My WordPress knowledge isn’t advanced enough, unfortunately, to know where best to place the js file and how to call it (though I at least know that it needs to be done!). What would be your advice?
    The CSS is easy to add.

    Plugin Author srumery

    (@srumery)

    One way to do that would be to use this tutorial to Add Custom JavaScript into your WordPress Site.

    Let me know how it goes.

    Jason Chong

    (@dantianhealth)

    Hi,
    It appears to work in Customiser but not when I try on live site. Have tried disabling cache plugin but that doesn’t seem to change it, not sure what is happening there!

    Plugin Author srumery

    (@srumery)

    I went to your site to take a look and I do not see the side tab at all. Do you have the plugin disabled?

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.