• Resolved rfloxhea1

    (@rfloxhea1)


    Hello,

    I have a little problem with the lightbox and I can’t figure out why. I want to use the inline html option so that I can put my own content in the lightbox.

    However, when I click the button and the lightbox appears, it remains empty. The inline html content just won’t show up.

    This is my code:

    <div class=”tekstenknop”>[wp_colorbox_media url=”#tekstboxmodules” type=”inline” hyperlink=”Modules”]</div>

    <div style=”display: none”>
    <div id=”tekstboxmodules” style=”padding:15px;background:#ffffff”>
    <p>Test</p></div>
    </div>

    I am using Divi and tried placing the inline html content in all kinds of different ways. In some ways the lightbox won’t even show up, in others it does but remains empty. Any idea what could be wrong?

  • The topic ‘Inline html content not appearing in lightbox’ is closed to new replies.