• Resolved marinbajic

    (@marinbajic)


    Hi there!

    I have a problem with this plugin. Plugin works perfectly, but when I click search on menu bar, it shows an input | and input text is in dark gray color.

    Then, when I click again on it, font-color is white and it all works fine.

    I already tried the script from the previous topic, but nothing.

    
    add_action('wp_footer', 'asl_custom_scrpt');
    function asl_custom_scrpt() {
      ?>
      <script>
      jQuery(function($){
        $('#menu-item-search').on('click', function(){
          setTimeout(function(){
             $('input.orig').get(0).focus();
          }, 300);
        });
      });
      </script>
      <?php
    }
    

    If you need a link, I’ll PM or mail you.

    Photos

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Side note: There’s no PM our private support here. If you can’t or won’t share a link that’s fine but it will hamper volunteer support here.

    If you do share a link please be aware that it won’t be deleted later either. Posts and replies are only editable for 60 minutes.

    Thread Starter marinbajic

    (@marinbajic)

    But this plugin creator has its own mail for support like this. So I can send my link to his mail or his portfolio contact form, right?

    Thread Starter marinbajic

    (@marinbajic)

    Solved!

    File : ajax-search-lite/includes/views/asl.shortcode.php

    Remove this:

    
                <input aria-label='Autocomplete input, do not use this' type='text' class='autocomplete' name='phrase' value='' autocomplete="off"/>
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Searchfield showing input |, but not searching anything’ is closed to new replies.