Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1332246

    Hi there,

    I have the following problem. On my homepage, a lightbox is called up via the masonry gallery (under “Leistungen”) and information is displayed there.
    On a PC the lightbox is the right size; on a smartphone only about 45% of the height of the viewport is used.

    The solutions listed in the forum didn’t work for me – could you please help? My goal would be a lightbox on the smartphone with a height of 80-90% of the viewport.

    Many Thanks
    Michael

    #1332321

    Hey mkhib,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width: 768px) { 
    #top .mfp-iframe-scaler {
        height: 90vh;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1332322

    Thank you so much! It works.

    #1332327

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Size of lightbox on mobile’ is closed to new replies.