1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Scrolling overlay

Discussion in 'XenForo Development Discussions' started by Jim Boy, Oct 25, 2015.

  1. Jim Boy

    Jim Boy Well-Known Member

    Have got an overlay going as per the standard XF overlay, but it can be bog and go below the bottom of the screen. As the overlay is fixed, you can't view the bottom of the overlay when it is like that. Anyone have a scroll ability for the overlay or similar solution?
  2. Chris D

    Chris D XenForo Developer Staff Member

    You can add the "overlayScroll" class to the main content section of the overlay and that will allow its contents to be scrollable.

    Alternatively you can add the "NoFixedOverlay" class to the parent element of the overlay (usually the <form> element) and that would cause the overlay to not be fixed, therefore allowing the overlay to grow infinitely in height.
    Jim Boy likes this.
  3. Jim Boy

    Jim Boy Well-Known Member

    Thanks for the prompt response, exactly what I needed.

Share This Page