HTML content displayed with Lighbox

Hello,

I have a HTML file upladed on my server:
http://preprod.ghara.fr/wp-content/Ghara1.html

Is there a way to display the content in a similar way as with lightbox?

Thanks,
Antoine

Hello Antoine,

Yes, it is possible to display entire page in a lightbox. It is still possible with the use of HTML iframe Tag inside a Content Area Modal element.

Or you can use a plugin like WP Post Popup.

Hope this helps.

Thank you. I’d like to implement the first solution with the lightbox then. Could you please explain me a bit more how to trigger the lighbox with the iframe from a button?

Thanks,
Antoine

Hi Antoine,

Once you add Content Area Modal to your page, you can make it look like a button by following the steps below.

1.Click on the Toggle tab and then enable Text Setup and disable Graphic Setup.

2.Under Toggle tab, set border radius as zero.

3.Under Toggle tab, also set a width and a background color so it will started to look like a button.

You can set further adjustments like setting interaction colors according to your preference.

Then for the modal content, you can add your iFrame code. You can see more iFrame code examples from here (https://www.w3schools.com/html/html_iframe.asp).

Thanks!

Thank you very much for your help!

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.