Reply To: Styling of Search box not adhering

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Styling of Search box not adhering Reply To: Styling of Search box not adhering

#1347

Ernest Marcinko
Keymaster

Hi!

The styling of the outlining div needed to be reduced from 360 px to 310 px in the template header.php file, now it fits.
I also added a few lines after the wp_head() call, to make sure, that the window.resize event is called after the user clicks the search icon, so the text input of the ajax search fixes itself:

  <script>
    aspjQuery(document).ready(function(){
       aspjQuery('#NavSearchLink').click(function(){
           aspjQuery(window).resize();
       });
    });
  </script>

Please backup the header.php file from your template in case you need to reinstall it, so the changes persist 🙂

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)