• Resolved dool676

    (@dool676)


    Hello,

    In the off canvas menu, the search button just doesnt do anything when you tap on it on mobile, it works on desktop if you go into responsive mode in dev tools, however, on an actual phone or tablet it doesnt. If I put a search on the footer it works though, so I’m not sure why it doesnt on the off-canvas menu.

    If I could have some help with this that would be great, thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kris

    (@c0nst)

    Hi, @dool676!

    Please try this solution:

    add_action( 'wp_footer', function() { ?>  
    <script type="text/javascript">
    jQuery(document).ready(function($) {
    $('body').on('click', '.elementor-element-96e7a25', function(e) {
    $('.js-dgwt-wcas-enable-mobile-form').first().click();
    });
    });
    </script>
    <?php } );

    You have two ways to add this code to your theme:

    1. Open the functions.php in your child theme and add the code at the end.
    2. or install the Code Snippets plugin and apply this code as a snippet.

    Regards,
    Kris

    Thread Starter dool676

    (@dool676)

    Thank you, that worked.

    Thread Starter dool676

    (@dool676)

    Hello, This works when logged out but not when logged in for some reason, do you know how I can fix that?

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