Skip to content

Instantly share code, notes, and snippets.

@theJasonJones
Last active April 7, 2016 18:32
Show Gist options
  • Save theJasonJones/2d128d79de303e055d92f5269a3a134d to your computer and use it in GitHub Desktop.
Save theJasonJones/2d128d79de303e055d92f5269a3a134d to your computer and use it in GitHub Desktop.
Base styles for a BS nav menu that serve as a decent starting point.
.header{ margin-top: 25px;
nav { .container; padding-left: 0; margin-bottom: 0px;
a { color: #3d6c97; font-size: 18px; line-height:28px; font-weight: bold; }
li{
&:hover > a { background-color: #f1f1f1; }
&.menu-item-has-children {
& > a:after { font-family: 'FontAwesome'; content:"\f107"; margin-left: 10px; }
}
&.current-menu-item, &.current_page_parent { background-color: #f1f1f1;
a { color: white; }
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment