Created
July 23, 2021 22:27
-
-
Save marklchaves/c937334ae4866fc54b6ed7084653bd0f to your computer and use it in GitHub Desktop.
Astra theme fix for unwanted border style and outline on mobile submenu toggle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add this custom CSS to remove the unwanted border | |
* (large dots) and thin outline on focus. See screengrab | |
* in the gist comments section. | |
* | |
* https://marklchaves.medium.com/adding-custom-css-to-your-wordpress-website-how-to-guide-a50b474af36d | |
*/ | |
.ast-menu-toggle { | |
border-style: none; /* Add !important if needed. */ | |
} | |
.ast-menu-toggle:focus { | |
outline: none; /* Add !important if needed. */ | |
} |
Awesome, Mark! Super! It worked like a breeze.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screen capture