• Resolved Daryl Malibiran

    (@darylmalibiran)


    Hi WP Popup Maker and WP Community,

    Good Day!

    Is it possible to scroll-down/up to the anchor tags in the popup?
    For example, I have different buttons on a page with different anchor links.
    <a href="#top">Top</a> <a href="#middle">Middle</a> <a href="#bottom">Bottom</a>

    On a popup, I created divs with anchor links each.

    <div id="top">This is top section.</div>
    <div id="middle">This is middle section.</div>
    <div id="bottom">This is bottom section.</div>

    When I tried “Bottom” button, the popup doesn’t scroll-down to bottom section.
    The url only shows “example.com/#bottom”.

    I’m not sure if this is possible or will be one of the features for the next updates.
    Please let me know if there’s a quick solution for this.

    I would appreciate your immediate attention to this matter.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @darylmalibiran – Sorry for the delay. Ultimately you would might need to custom code something for this to work. I believe what is happening is the either we are preventing the scroll action (try enabling the Do Default option in your click trigger), or the popup is hidden when the click happens and the element you want it to scroll to is not available to be scrolled to. In which case a custom solution to delay the hash scroll until after the popup was open would be necessary.

    Hope that helps. If your issue is resolved please take a moment to rate and review the plugin or support.

    If you still need help please message us directly at https://wppopupmaker.com/support/.

Viewing 1 replies (of 1 total)
  • The topic ‘Scrolling to Anchor Tags’ is closed to new replies.