How do I change the keyboard navigation highlight color?

When a visitor navigates the menu using the keyboard, the focused menu item is highlighted with an outline. To change the outline, go to Mega Menu > Menu Themes > General Settings and adjust the “Keyboard Highlight Outline” option:

  • Color: the color of the outline (default: blue).
  • Width: the thickness of the outline.
  • Offset: the distance between the outline and the edge of the menu item. A negative value draws the outline inside the menu item.
Keyboard Highlight Outline color, width and offset options on the General Settings tab of the theme editor

Save the theme to apply your changes.

Using Custom CSS

If you need more control (for example, to style only certain elements), go to Mega Menu > Menu Themes > Custom Styling and add the following: