Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #396500

    Good day. Thank you for creating such a wonderful theme. I love all the choices you have for Content Elements when creating a page. Is there any way with all the features of this theme to open a modal window/lightbox with some text? I like the Accordion/Toggle content element where you need to click the + sign to open it and see some text, but what I really want to do is be able to click a link and have a modal window/lightbox open with some text. Is that possible with any of he features you have for your plugin? If not, do you know of other plugins that work with yours that will do it? Many thank you to you.

    #396942

    Hi santanin!

    Please see here, https://kriesi.at/support/topic/inline-content-in-magnific-popup/.

    Best regards,
    Elliott

    #396946

    Thank you for your reply. I added this the code for inline content in a magnific popup to my functions.php file as the post link you sent me instructed. However I’m not sure what to do now to call that function. Could you explain how exactly I can do this? Many thanks.

    #396951

    Hi!

    You’d put the content to get opened in a Color Section with a custom ID (ex: content_to_open) and then the trigger would be a link element like this:

    <a href="#content_to_open" class="open-popup-link">Open</a>
    

    Regards,
    Josue

    #397025

    Thank you for your fast reply. I am almost in full understanding and am close to understanding this. My only question is if I put the content in a Color Section in a Text Block element, the text still displays on the page. Do you know what I mean?

    If I add the color section on Page A, and then put the trigger link element also on Page A, I would still see the content from the color section since I already on Page A. Are you saying I need to make this into two separate pages, for example, add the color section on Page A, and ten make a new page, Page B, and add the trigger link element on Page B to the color section on Page A? I thought I could do all of this on the same page?

    Sorry for confusion. I am so close. Thank you for your help helping me understand. Best, Nate

    #397050

    Hi!

    Add this to Quick CSS:

    #content_to_open {
        display: none;
    }
    
    .mfp-content #content_to_open {
        display: block;
    }

    Best regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.