Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1168943

    Hi,
    I would like to add a column link in a Grid Row which opens an image (in the media library) directly in a lightbox over de entire page. But I can’t seem to find a solution.
    And on another column I would like to add a video (rather embedded from Vimeo than) also in a lightbox.

    I saw a previous thread about adding lightboxes but this didn’t seem to work anymore.

    Maybe there is an easy solution for this?

    #1168994

    Hey enzowillemstad,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1170650

    On the homepage, the second blok from the top left should have a link to an image in lightbox.

    in private content you see the login credentials.

    Thanks in advance.

    #1170659

    Sorry, not the homepage, but this page: https://sensmaroc.nl/sens-maroc/

    The video lightbox seems to be working.

    #1170881

    Hi,

    Thank you for following up.

    Try to set the link to open in the same window, then add this css code in the Quick CSS field or the child theme’s style.css file.

    .av-screen-reader-only.lightbox-added {
        position: absolute;
        left: auto;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        opacity: 0;
    }

    Best regards,
    Ismael

    #1170992

    Hi,
    Thanks for you response, It semi-works.
    First click it opens de image in a lightbox (nice), close the lightbox and click again and the image opens as normal.

    #1171467

    Is there perhaps another way this can be achieved?

    #1171633

    Hi,

    How about we completely remove Lightbox?

    Best regards,
    Basilis

    #1171765

    What do you mean?

    #1171782

    First to be clear what is your setup:
    You got a grid-row and like to have in one grid-cell an image and in another one a link to a film ( youtube, vimeo etc.) both should open in lightbox.

    “And on another column I would like…” then you are talking about columns .
    So please be more precise in your question.

    here i got a grid-row –
    first grid-row:
    on the left there is in it an easy-slider with one image and lightbox setting.
    on the second cell i placed an image with video link ( video url with iframe=true option )
    with this setting lightbox gallery will work

    second grid-row:
    on the left there is in it an easy-slider with one image and lightbox setting.
    on second cell i placed a video alb with lightbox open option (Enfold newer than 4.6.3)

    https://webers-testseite.de/gridrow-links/

    #1171832

    Hi, Thanks for you help so far.

    The situation is as follows:

    – On this page: https://sensmaroc.nl/sens-maroc/ I have a grid-row.
    – The second cell from the left (Discover the Moroccan triangle) should open an image from the media library in a lightbox (now opens the link to the image in new tab). I would like to use the enfold function of “column link” with in the cell settings, so the same overlay is used as the cells that link to pages.
    I tried adding “iframe=true” to the link, but this doesn’t seem to work.
    – The third cell from the left (Video) should open a video in a lightbox. This already seems to work.

    In your example you use a easy-slider and I want the entire cell (with more than 1 image) to open an image from the media library in a lightbox.

    Thanks in advance.

    #1172462

    Hi,
    Sorry for the late reply, as I investigate your issue I was able to make a link to the image in the lightbox cover the column by adding this code to a code block element within your column:

    <style>
    a.fullwidth {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    </style>
    <a class="fullwidth" href="https://sensmaroc.nl/wp-content/uploads/2020/01/Sens-Maroc-Moroccan-traingle.jpg?iframe=true"></a>

    But this now creates a new issue, your image is too large and because it is in a iframe it can’t be sized with css. The iframe itself can be sized larger to fill the screen, but even then your image is too large, and if you choose to do that the other lightboxes will also be larger because they are all the same lightbox.
    So please take a look at your column link and decide if you want to make your image smaller or if you want to link to the image on another page.

    Best regards,
    Mike

    #1172797

    Thanks for your help, but this not really a solution.
    I guess it’s not possible to add a link to an image in a lightbox in Enfold. To bad.

    #1173500

    Hi enzowillemstad,

    No, not out of the box. It will require additional coding.

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Victoria

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