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
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
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
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
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
Hello Rikard
You can close this topic.
Thank you
Kai