Created
May 14, 2015 06:07
-
-
Save lynt-smitka/89f8cb53e477ec740b7b to your computer and use it in GitHub Desktop.
Sparkling - 3th level menu
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
//do functions.php | |
function sparkling_header_menu() { | |
wp_nav_menu(array( | |
'menu' => 'primary', | |
'theme_location' => 'primary', | |
'depth' => 3, | |
'container' => 'div', | |
'container_class' => 'collapse navbar-collapse navbar-ex1-collapse', | |
'menu_class' => 'nav navbar-nav', | |
'fallback_cb' => 'wp_bootstrap_navwalker::fallback', | |
'walker' => new wp_bootstrap_navwalker() | |
)); | |
} | |
//do style.css (a trochu doladit) | |
ul.nav ul ul { | |
margin: -44px 0 0 150px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment