Skip to content

Instantly share code, notes, and snippets.

@mrdavefoy
Last active October 4, 2018 06:50
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 mrdavefoy/666b8902cf3c793352084e008ee39d4e to your computer and use it in GitHub Desktop.
Save mrdavefoy/666b8902cf3c793352084e008ee39d4e to your computer and use it in GitHub Desktop.
/* GeneratePress Header fix for problem break points
Change the 900px value in two places to where you have nav/logo overlap */
@media(min-width:769px) AND (max-width:900px) {
.inside-header {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
#site-navigation {
min-width: 900px;
padding: 10px;
text-align: center;
}
#site-navigation ul li {
display: inline-block;
float: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment