• Resolved trixytrick

    (@trixytrick)


    I’d like to insert a Contact 7 shortcode into a lightbox. I had a look at the documentation but I still don’t get my head around it. Here is what I have so far (which is not correct):

    Example:
    [su_lightbox type=”inline” src=”[contact-form-7 id=”1234″ title=”Test form”]”] Click here to open lightbox [/su_lightbox]

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi @trixytrick,

    have you tried the HTML content example from the documentation?

    Try the following code (add your form):

    [su_lightbox type="inline" src="#my-custom-popup"] Open lightbox with custom HTML content [/su_lightbox]
    [su_lightbox_content id="#my-custom-popup"]
    <!-- contact form 7 shortcode goes here -->
    [/su_lightbox_content]
    Thread Starter trixytrick

    (@trixytrick)

    Hi Vladimir,

    Thanks for your speedy reply. Works like a charm. Highly appreciated!

    Best

    Marian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘lightbox with Contact 7 shortcode’ is closed to new replies.