How to use Escape key to leave Overlay Menu?

Hi,

This is really needed - when I'm on overlay menu and have cursor somewhere in the middle of the page and I decide not to use any of the links I have to be able to use escape key to get back to the page content and hide the Overlay Menu. Otherwise I have to use the cursor to get all the way to the top right corner to close the menu.
Could you please provide me with CSS code to achieve this?

Also - I couldn't find a setting to change the Overlay Menu font size.

Thank you very much for help!

Comments

  • Hey,
    sorry but CSS will not make it work. It would have to added to the PHP functions or by adding custom JS.
    THe font size is the normal menu font size - theme optons>fonts>size&style
    thanks
  • I'd love to use the Escape key - this is I think normal behaviour and everybody is used to it.
    If you could help me with custom JS, it'd be great.

    But if not, It'll do anyway - I know I cannot have everything I desire. :)

    Thank you.

    The text size change worked, I did not realise it was for Overlay Menu as well. Thank you.
  • Hey,
    we only help with simple CSS modifications. All JS, PHP or code edits are not possible, sorry.
    thanks
  • OK, thanks anyway.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.