• Resolved Fernando Tellado

    (@fernandot)


    Digging inside the forum I tried this code:

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

    And the search worked fine but today I’ve discovered that the links in the navigation menu don’t work if the snippet is active.

    Is there any other way to make all work?

    Thanks!

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

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

    (@c0nst)

    Hi @fernandot

    In your case this CSS should do the trick:

    @media (max-width: 767px) {
    	.elementor-442 .elementor-element.elementor-element-55a95ca {
    		z-index: 1!important;
    	}
    }

    Paste it into Appearance -> Customize -> Additional CSS. If you aren’t familiar with custom CSS, take a look at this video.

    Regards,
    Kris

    Thread Starter Fernando Tellado

    (@fernandot)

    Works fine!

    Thank you @c0nst ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Bar doesn’t work on mobile’ is closed to new replies.