Gallery – Album problem
-
I create a sub menu following the advice showed here before ( thanks! )
1) Copy header.php from the parent theme to the child theme. Edit that file and change line 49 from:
<?php wp_nav_menu(array(‘theme_location’ => ‘header_menu’, ‘container’ => false, ‘menu_id’ => ‘navigation-menu’, ‘depth’ => 1, ‘link_before’ => ‘› ‘)); ?>
to
<?php wp_nav_menu(array(‘theme_location’ => ‘header_menu’, ‘container’ => false, ‘menu_id’ => ‘navigation-menu’, ‘link_before’ => ‘› ‘)); ?>
2) In your child theme’s stylesheet, add this:
#sidebar nav ul.sub-menu {
padding-left: 1em;
}it worked fine but now when i create the album of the gallery they all become a submenu of the gallery and im not very happy with that, i would like to have it like in the theme, any solotion?
Also, could it be posible to have a rollover on the submenu to show or hide it?
thanks
G
- The topic ‘Gallery – Album problem’ is closed to new replies.