Skip to content

Snippet: Remove Focus Styles from The Mobile Menu & Mobile Menu Toggle

Important: This code is no longer needed as it's included in the theme by default since Total 5.6.0

Some browsers may display focus styles when clicking on the mobile menu toggle and accessing the mobile menu. This is done for accessibility reasons which is why it's not removed in the theme by default, but it can be removed with some custom CSS if wanted.

Important: This CSS will target all devices, if you wanted to target touch devices only you may consider wrapping the CSS within an @media query targeting pointer:coarse.,
.wpex-mobile-menu a,
.mobile-toggle-nav-ul a,
.sidr-class-wpex-close a,
.wpex-fs-overlay .wpex-close {
Back To Top