Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #531958

    Hi, I’m trying to get a text box to popup when someone clicks a link for more information.

    I followed all the instructions here: https://kriesi.at/support/topic/modallight-box-for-text/

    Updated the functions in child theme… added inline link, and updated css. But when you click the button it just animates. Nothing pops up.

    Here is the section I’m working on: http://dev.battellojc.com/the-team/

    I want to have the info box pop up when someone clicks “learn more”

    Please help!

    I will include the login info in case you need it.

    Thank you

    #533187

    Hey!

    The class you’re targeting in the JS code is different from the one you’re setting in the link, the JS code should be:

    <script>
    (function($){
        $(window).load(function() {
        	$('.open-popup-link').magnificPopup({
        	  type:'inline',
        	  midClick: true 
        	});
        });
    })(jQuery);
    </script>

    Cheers!
    Josue

    #533744

    Sweet! Thank you

    #533778

    You are welcome, glad to help :)

    Regards,
    Josue

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