Support » Plugin: Simple Lightbox » Position on mobile

  • Resolved zeuslt

    (@zeuslt)


    When lightbox opens it appears flush at the top of page in mobile, is there a way to make it appear in the middle of screen?

    Also, it is possible to scroll away from lightbox while it is still open, is it possible to make it “sticky” in the middle of the screen so it scrolls with the page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, centering the content on the screen on mobile devices is planned for SLB’s default lightbox themes. The lightbox can display captions and descriptions that may extends beyond the screen’s edge, so lightbox scrolls with the page so that all content is accessible.

    Also note that the appearance/behavior of the lightbox are fully customizable with custom themes. See SLB’s Themes documentation for more details on creating custom themes.

    Thread Starter zeuslt

    (@zeuslt)

    I’ve been looking through the documentation, but I haven’t noticed anything I could use for the positioning, would you mind pointing me to the right direction? Thank you

    Plugin Author Archetyped

    (@archetyped)

    Hi, the tutorials in the documentation show how to create a custom lightbox theme with HTML, CSS, and JS.

    The actual HTML, CSS, and JS are completely up to you, though you can use SLB’s included themes for reference.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.