Support » Plugin: Popups for Divi » Background Scrolling

  • greentulip

    (@greentulip)


    I don’t understand how to get the background to freeze (not scroll) when the popup is active. I know the support page show that “DiviPopup.showOverlay()” will do exactly this, but I don’t understand where I put that bit of code. Can someone help?

    https://recover.theedgetreatment.com/ click on the “Get More Info” button

    • This topic was modified 2 years ago by greentulip.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter greentulip

    (@greentulip)

    The issue was that “position: fixed” needed to be added to the class “body.evr_popup_open”

    buddha35

    (@buddha35)

    Hi @greentulip
    Very nice website at https://recover.theedgetreatment.com/
    I’m a newbie developer using Divi Visual Builder. Could you list the steps I take in my Dashboard to add “DiviPopup.showOverlay()” AND “position: fixed” to the class “body.evr_popup_open”.
    Thanks for your time.
    @buddha35

    Thread Starter greentulip

    (@greentulip)

    Hi @buddha35, I’m not exactly sure how to call the “DiviPopup.showOverlay()” JS, but I didn’t need it for the “position:fixed”.

    From your dashboard, go to Divi > Theme Options.
    On the General tab, go to the bottom to the Custom CSS section.
    Add
    body.evr_popup_open {position: fixed}

    Save and that’s it.

    buddha35

    (@buddha35)

    Thanks @greentulip, for your speedy reply. It did the trick!

    I have another problem with my popup that was going on before I applied your fix. It appeared yesterday after all was previously working fine. Could you possibly help me. Here’s a link to the issue:
    https://wordpress.org/support/topic/popup-wont-scroll/

    buddha35

    (@buddha35)

    Re: https://wordpress.org/support/topic/popup-wont-scroll/
    @greentulip please don’t give this any more of your time. I never figured out why it was happening but I resolved it by deleting the section involved and building it again fresh.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Background Scrolling’ is closed to new replies.