Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create a horizontal sub-menu in GeneratePress
body .sf-menu > li {
position: static;
}
body .main-navigation ul.menu > li > ul {
width: 100%;
}
body .main-navigation ul.menu > li > ul > li {
width: auto;
}
body .main-navigation ul.menu > li > ul > li ul {
left: 0;
top: 100%;
}
@JMIANO1981

This comment has been minimized.

Copy link

@JMIANO1981 JMIANO1981 commented Feb 5, 2018

The CSS won't work on my site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment