Last active
March 14, 2018 22:26
-
-
Save devinsays/701c814a5e0f7201acafa198f164c44e to your computer and use it in GitHub Desktop.
Change menu colors for Portfolio Press and Portfolio+
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
/* 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