Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Last active April 11, 2022 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndawood/682efe3f2aec54164bc4f7b4835ee4a3 to your computer and use it in GitHub Desktop.
Save ibndawood/682efe3f2aec54164bc4f7b4835ee4a3 to your computer and use it in GitHub Desktop.
Electro v2 - Remove departments v2 menu from header v6
function electro_set_header_v6_hooks() {
remove_action( 'electro_header_logo_area', 'electro_off_canvas_nav', 20 );
}
.header-v6 .masthead .header-logo-area {
flex: 0 0 1%;
max-width: none;
min-width: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment