Support » Plugin: Ajax Search Lite » Closing the search box when pressing ESC

  • Hello!

    Thanks for your great plugin. It works and looks great! There’s one minor issue though, probably related to an incompatibility with my theme.

    Since my search form is placed on the menu, when you click the magnifier to open the search box it covers the menu. This wouldn’t really be an issue if one could close the box (in case they decide to cancel the search) by pressing ESC or clicking outside of it.

    At the current state, the only way someone can use the menu again is by reloading the page or opening another one.

    I also have another minor request. I got to change the colors for the results’ titles but couldn’t figure out how to change the “View more results…” text color. Could you help me with this?

    Thanks again!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Well, the plugin has no effect on how the menu works, I think you will have to ask the theme author about how to correctly integrate the plugin shortcode there. It is possible, that an additional script might be required to properly close the menu, once it’s open.

    To change the color of the show more results text, use this custom CSS:

    .asl_r p.showmore a {
        color: red !important;
    }

    I hope this helps!

    Best,
    Ernest M.

    I understand. Thanks!

    The code worked just fine! Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Closing the search box when pressing ESC’ is closed to new replies.