Skip to content

Instantly share code, notes, and snippets.

@devinsays
Last active March 14, 2018 22:26
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 devinsays/701c814a5e0f7201acafa198f164c44e to your computer and use it in GitHub Desktop.
Save devinsays/701c814a5e0f7201acafa198f164c44e to your computer and use it in GitHub Desktop.
Change menu colors for Portfolio Press and Portfolio+
/* Menu text color and background color */
#navigation ul a,
#navigation .menu-toggle {
color: #333;
background: #f9f9f9;
}
/* Toggle menu on mobile needs padding if container background is white */
#navigation ul a,
#navigation .menu-toggle {
padding: 15px;
}
/* Toggle menu icon */
.menu-toggle:before {
color: #333;
}
/* For desktop screens */
@media screen and (min-width: 780px) {
/* Down arrow */
.primary-navigation .menu-item-has-children > a:after,
.primary-navigation .page_item_has_children > a:after {
color: #aaa;
}
/* Top notch in sub menu */
.primary-navigation ul ul:before {
border-bottom: 8px solid #f9f9f9;
}
/* Border color of list item in submenu */
.primary-navigation ul ul li {
border-bottom: 1px solid #ddd;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment