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.