wp_list_pages css help
-
I’m working on customizing the menu on a wordpress theme. I need css span to be applied inside the link. This works fine for normal links but for links from wp_list_pages it messes up the css.
<li><?php wp_list_pages('title_li='); ?></li> <li><a href="#"><span>Title</span></a></li> </ul>
The CSS shows up fine with the link “Title” but shows up incorrect for wp_list_pages.
Is there any way around this? Can I somehow edit the html around wp_list_pages to include span?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘wp_list_pages css help’ is closed to new replies.