Support » Plugin: Easy Modal » Causing lots of white space at the bottom of the page

  • Resolved jgallas

    (@jgallas)


    HI –

    The plugin after update is behaving unusually. We have a few modals that are quite long on different pages. On those pages the whole page height is extended to the max height of the modal rather than stopping at the bottom of the footer. It is extending past debuggable <body> element.

    But, when clicking a modal on the page, any modal, it goes right back to normal. The blank space at the bottom of the page is no longer there and the modals behave as normal.

    I discovered that the modals at time of load are visibility:hidden but not display:none. Meaning, the space it consumes will be accounted for but you won’t see it.

    I solved the problem by simply adding display:none to the .emodal class in /easy-modal/assets/styles/easy-modal-site.css as line 19. It simply loads the page with those modals already hidden. On click everything works just fine. Then when closing it already adds display:none as it should.

    Hope this helps!

    https://wordpress.org/plugins/easy-modal/

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

    (@danieliser)

    @jgallas – do you have a link i can see with the issue? would it be possible to have you remove or comment the change you made? I am not experiencing this so it may be a theme conflict i need to account for.

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • The topic ‘Causing lots of white space at the bottom of the page’ is closed to new replies.