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

    Hello.

    I need a pop-up after clicking on “buchen”.
    The content (a booking field) should be only shown in the popup, but it is still visible on the bottom of the Side.
    Which css can I give the Popup-content, so he only shows up in the popup?

    What I did:

    1.:
    I Added the following PHP Code:

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){

    jQuery(‘.open-popup-link’).magnificPopup({
    type:’inline’,
    midClick: true
    });

    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_script’);

    2.:
    I build a color Section and gave it the ID: content-to-open.

    3.:
    I gave the button this code:
    Buchen

    #1325654

    Hey Monika,

    Thank you for the inquiry.

    Try to apply the mfp-hide class name to the color section to hide it from the document initially and only display it inside a lightbox container.

    Best regards,
    Ismael

    #1325701

    Perfekt! now it works!!

    THANK YOU!!

    #1325790

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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