• Hi,

    I’m loving the plugin and have been pretty much styling it by hand via CSS. I’ve got everything how I want it; but, I can’t figure out how to change the :focus styling when using keyboard navigation. It looks like it’s done through Javascript, but modifying the added class doesn’t change the style.

    Has anyone been able to do this successfully?

    Note: I’m not trying to get rid of the focus styling, as that’s vital for accessibility – just changing it to suit my design better.

    Thanks,
    Ryan

Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi Ryan,

    The menu is given a class of “.mega-keyboard-navigation” when keyboard navigation is “on”, so make sure you include that in your custom selectors. You should be able to use dev tools whilst keyboard navigation is enabled to find the correct selectors to use.

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘Editing keyboard navigation focus styles?’ is closed to new replies.