parent
52dc0b9c5c
commit
69794803c2
4 changed files with 14 additions and 4 deletions
|
@ -6,7 +6,6 @@
|
|||
<i class="fa fa-home" aria-hidden="true"></i><span class="sr-only">Accueil</span>
|
||||
</a>
|
||||
</li>
|
||||
<?php include(TEMPLATEPATH . '/components/navbar-category.php'); ?>
|
||||
<?php
|
||||
$listmenu = get_nav_menu_locations();
|
||||
$menu = wp_get_nav_menu_items($listmenu['top-navbar']);
|
||||
|
@ -24,6 +23,18 @@
|
|||
echo '<li><a href="' . $menuElement->url . '" class="btn btn-navbar">'. $menuElement->title . '</a></li>';
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<a class="menu-item submenu" href="#">Mes sites <i class="fa fa-caret-down" aria-hidden="true"></i></a>
|
||||
<ul class="bg-light menu fg-dark">
|
||||
<?php
|
||||
$listmenu = get_nav_menu_locations();
|
||||
$menu = wp_get_nav_menu_items($listmenu['link-menu']);
|
||||
foreach ($menu as $menuElement) {
|
||||
echo '<li><a href="' . $menuElement->url . '" class="btn btn-navbar">'. $menuElement->title . '</a></li>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php bloginfo('rss2_url'); ?>" class="btn btn-navbar"><i class="fa fa-rss" aria-hidden="true"></i><span class="sr-only">Flux RSS du site</span></a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
@ -2,4 +2,3 @@
|
|||
<?php include(TEMPLATEPATH . '/components/sidebar/categories.php'); ?>
|
||||
<?php include(TEMPLATEPATH . '/components/sidebar/tags.php'); ?>
|
||||
<?php include(TEMPLATEPATH . '/components/sidebar/archives.php'); ?>
|
||||
<?php include(TEMPLATEPATH . '/components/sidebar/links.php'); ?>
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
left: 0;
|
||||
display: none;
|
||||
padding:0.33rem;
|
||||
z-index:1;
|
||||
z-index:2;
|
||||
}
|
||||
|
||||
&:hover ul,
|
||||
|
|
|
@ -1593,7 +1593,7 @@ ul.card-list, .card > ul {
|
|||
left: 0;
|
||||
display: none;
|
||||
padding: 0.33rem;
|
||||
z-index: 1; }
|
||||
z-index: 2; }
|
||||
.toolbar li:hover ul,
|
||||
.toolbar li ul:hover, .toolbar li:focus-within ul {
|
||||
visibility: visible;
|
||||
|
|
Reference in a new issue