• Resolved Brance

    (@brance)


    I can get it to work exactly like I want it to with a scroll percentage, but when I set it to appear with “scroll to element”, nothing happens. It never pops up.

    I’ve tried with several different elements, including id’s and classes. Nothing seems to work.

    I like the plugin and have it running using a scroll percentage, but it would better if I could get the “scroll to element” to work.

    Any ideas?

    A Life Enjoyed

    https://wordpress.org/plugins/dreamgrow-scroll-triggered-box/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Eero Hermlin

    (@eero-hermlin)

    Hi

    Element field uses jQuery selector syntax. What element exactly you want to use for triggering?

    Thread Starter Brance

    (@brance)

    I wanted to trigger it with the last widget (#archives-2) in my sidebar, so it would come up after you had scrolled past the majority of the sidebar. But I get nothing.

    When I set it to “Scroll and/or Time delay” and set it to 20% it more or less works, but it depends on the length of the page, so it comes up in a different place on the home page than it does on a single post page.

    Ideally, it would come up at the end of the sidebar on any page, which is why “Scroll to Element” would be preferable…

    Thanks.

    Plugin Author Eero Hermlin

    (@eero-hermlin)

    With element triggering is important to know that it triggers if element starts to show.

    So if you want to trigger scrollbox AFTER some element, e.g. when element is fully visible, then you must set triggering instead to the element what comes next. In some cases it might require adding special element to the theme for that (like <div class=”my_scroll_triggering_element”></div>).

    Scrollbox plugin measures page length, screen size and positions of elements in screen once after page html and scripts are initially loaded. If something changes the page layout after that, (mostly like advertisements, special animations or effects what are also loaded dynamically after page load, sometimes also images for what width and height parameters are not set) this initial % might change a bit.

    Plugin Author Eero Hermlin

    (@eero-hermlin)

    I guess this got solved with that.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘scroll to element not working’ is closed to new replies.