Здравствуйте, пытаюсь натянуть верству на Wp
При переносе меню управления, использовал wp_nav_menu, но к li да и к ul особе не применился Css
Подскажите, в чём проблема, в Wp только начинаю разбираться.
в комментарии статическая верстка.
<nav class="navbar navbar-expand-lg navbar-light" style="background-color: #fff; ">
<div class="container">
<div class="d-lg-none d-sm-block">
<img src="img/NavBar/logo-dark-1.png">
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar1" aria-controls="navbar1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon "></span>
</button>
<div class="collapse navbar-collapse text-gray" id="navbar1">
<?php wp_nav_menu( array(
'theme_location' => '',
'menu' => 'div',
'container' => 'ul',
'container_class' => 'navbar-nav mr-auto container pl-4',
'container_id' => '',
'menu_class' => 'navbar-nav mr-auto container pl-4',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id = "%1$s" class = "%2$s">%3$s</ul>',
'depth' => 0,
'walker' => '',
) );?>
<!-- <ul class="navbar-nav mr-auto container pl-4">
<li class="nav-item ">
<a class="nav-link" href="index.html">About <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index — portfolio.html">Portfolio</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="index —Team.html">Team <span class="sr-only">(current)</span></a>
</ul>
<div class=" container justify-content-center d-none d-lg-block">
<a class="navbar-brand " href="index.html"><img src="" class=""></a>
</div>
<div class="">
<div class="container justify-content-end ml-4 pl-0">
<ul class="navbar-nav mr-auto container">
<li class="nav-item justify-content-end">
<a class="nav-link" href="index — contact.html">Contact<span class="sr-only">(current)</span></a>
</li><li class="nav-item ">
<a class="nav-link" href="index — Form 4.html">Form <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown1">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li>
</ul> -->
</div>
</div>
</div>
</nav>