I have a weird problem.
In my sidebar.php-template I have this code:
<?php wp_list_pages('title_li=<h2>' . __('Undersidor') . '</h2>' ); ?>
And in my header.php-template file i have this code:
<?php wp_list_pages(); ?>
In the latest code it only prints out the pages in a
< li >. Perfect. Exactly as I want it.
This is how my CSS looks like for the Current item:
background: url(img/menu-hover.gif) no-repeat bottom;
But in some strange way the background image doesn’t show up in the menu in my header, but I can see it in the sidebar template. How come?
I’ve tried using a full image link, but it still doesn’t show up.
- The topic ‘Background img in wp_list_pages’ is closed to new replies.