Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #899227

    Hi, I have button at my site that should open a lightbox/popup with a text and some hyperlinks. For the content of the lightbox I created a webpage without header and footer, that is the text only. Top open this text in a lightbox/popup I linked the button to the page’s URL with ?iframe=true added to it.

    So far, so good. The button opens the lightbox/popup containing the text.

    However, the text is longer than than the height of the lightbox/popup. So users have to scroll. But not all users realize they have the option to scroll within the lightbox/popup. They ask me: where is the rest of the text?

    So: how can I create a lightbox/popup that is as heigh as the text (even if it’s larger than the screen)?

    This is what users see: https://snag.gy/DdSEGO.jpg
    But here you see there’s some more text below: https://snag.gy/5CGt4V.jpg
    And even more: https://snag.gy/Yk79e1.jpg

    Cheers,
    Marc

    #900070

    Anyone?

    #900659

    Hi Marc,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #900717

    Hi Victoria, this is where the lightbox is too low: http://geldenlevensgeluk.nl/zakelijk/
    There’s a slideshow at the top of the page, with a button (‘LEES VERDER…’); just press the button.

    Thnx!

    #901246

    Hi Marc,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .page.page-id-1579 .mfp-iframe-scaler iframe {
      min-height: 705px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #901396

    Hi Victoria, thnx, it seems that does the trick!

    Wouldn’t it be nice if the lightbox/popup height scales automatically?

    #902633

    Hi Marc Bijl,

    It normally does, with images, and does not seem to do it with text on your website.

    If you need further assistance please let us know.
    Best regards,
    Victoria

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