• Resolved kharmer

    (@kristianharmer)


    Hi – is there a way to prevent the page jumping to the top when opening a modal via a link lower down on a page?

    I scroll to bottom of a page where the link is for the modal; upon clicking, the page jumps back to the top and the modal opens.

    It’s a minor thing but small details like this make for a nicer experience.

    I wonder if it is related to the JS implementation of the plugin or the positioning of the modal!

    Thanks for an easy to use plugin ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wow-Company

    (@wpcalc)

    Hello.

    Add to the CSS next code:

    html.no-scroll, body.no-scroll {
        overflow: visible !important;
    }

    In the site dashboard:

    Go to the page ‘Appearance’->’Customize’
    Click ‘Additional CSS’
    Add CSS code
    Click ‘Publised’

    Thread Starter kharmer

    (@kristianharmer)

    Perfect, worked perfectly, thank you…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent page jumping to top when opening modal’ is closed to new replies.