Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #427545

    Hey!

    I am creating a form that appears in a popup lightbox when a button or link is pressed on the page.

    Everything works as intended. I have created a color section element that contains the form, i have made this element hidden. I have edited the functions.php to contain:

    function inline_popup_enabler(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$('.inline_popup').magnificPopup({
        	  type:'inline',
        	  midClick: true
        	});
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'inline_popup_enabler');

    And i have used the following to make the actual link: <a class="inline_popup" href="#content-to-open">Contact Form</a>

    The problem is, when the form opens and I click on any row to fill it out, it immediately disappears. How can I make the form actually function?

    Thanks in advanced!

    #428167

    Hey heinrichvk!

    Thank you for using Enfold.

    I’m sorry but you’re using an old version of the theme. Please download the latest version, 3.1.3, from your themeforest account then update the theme via FTP. Please refer to this link for more info: http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Cheers!
    Ismael

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