Problem with Nav Menu
-
My nav menu in my theme is working strange:
call:
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
url:
2012.ficvaldivia.clOn the MainPage The Menu is built up perfectly…
Now if I press on one button and go to another site away from home the background image (only on home or incicio) disappears.
I actually use individual bg-images for every menu-item…
Now I’m conscious that’s a css issue or an issue how the menu is built up.
But my problem is that this menu item doesn’t get an own css-class so I do not now how to solve that.
I tried to change the call to
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
but this makes the problem worse, making only appear a bg-image on the current nav menu…When on “home”
<nav id="access" role="navigation"> <div class="menu"><ul><li class="current_page_item"><a href="https://2012.ficvaldivia.cl/" title="Inicio">Inicio</a></li>
When not on “home”
<nav id="access" role="navigation"> <div class="menu"><ul><li ><a href="https://2012.ficvaldivia.cl/" title="Inicio">Inicio</a></li>
So how can I give the inicio entry an INDIVIDUAL background image?
Thx
Patrick
- The topic ‘Problem with Nav Menu’ is closed to new replies.