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

    Hello Enfold Team
    I have a problem with a link that does not want to be opened in a lightbox.

    https://domain.ch/wetter?iframe=true&width=630px&height=690px

    The output:
    <a href="https://domain.ch/weather?iframe=true&width=630px&height=690px"> link </a>

    With jQuery I added some classes and rel attribute:
    <a href="domain.ch/weather?iframe=true&width=630px&height=690px" rel="lightbox"> Link </a>

    The page is always opened in the same window.
    Do you have a tip?

    Best regards
    Kai

    #1072557

    Hello Enfold Team

    is it possible that the lightbox link can not be set up via the code block?
    For example HTML in code block:

    <div class="codeblock">
    <a href="https://domain.ch/wetter?iframe=true" class="mfp-iframe lightbox-added">LINK</a>
    </div>

    Only about an element like button?

    Best regards
    Kai

    #1073334

    Hi Kai,

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

    Best regards,
    Victoria

    #1074352

    Hi Victoria

    Thank you for your reply.
    Now I use the content element “button” and use my own CSS in my child theme.
    With this solution the lightbox link wok.

    Best regards
    Kai

    #1075244

    Hi Kai,

    Great, I’m glad you found a solution. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1075382

    Hello Rikard

    You can close this topic.

    Thank you
    Kai

    #1075793

    Hi Kai,

    Thanks for letting us know, I’ll close this for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Open link in lightbox’ is closed to new replies.