thanks for the reply. I did find this page earlier. To be honest it might as well be written in Swahili… I don’t understand a word of it! It would be would be useful if you could direct me to the relevant paragraph and add some explanation.
With thanks
I didn’t understand what to do with information either.
Try using a custom menu instead.
I have three different navigations sections in my header. I need to add an on-state to each section and each section’s on-state needs to be unique. I hand coded the navs into my themes header.php page. I have been trying to understand how to code this. I’m missing what to do with wp_list_pages; what code to I add where?
Here is one of my nav lists in which I tried to style the People link with examples I have seen in the forum.
[Code moderated as per the Forum Rules. Please use the pastebin]
Any advice?
Thanks.
Oops. Sorry. I’m new.
[Code moderated as per the Forum Rules. Please use the pastebin]
Here’s my site:
<ul id="navLeftTop">
<li><a href="http://designandplanningsites.aecom.com/gci/">Purpose</a></li>
<li class="page_item page-item-10 current_page_item"><a href="http://designandplanningsites.aecom.com/gci/?page_id=10" title="People">People</a></li>
<li><a href="?page_id=12">Ideas</a></li>
<li><a href="?page_id=25">Partners</a></li>
<li><a href="?page_id=7">Blog</a></li>
</ul>
Moderator: If you wish to delete my posts, I can try again for one coherent post, now that I’ve had a little practice. 😉
I finally got it working using method 2 from this tutorial:
To achieve the unique on-state for the second navigation section, I changed
echo " id=\"current\"";
on my navigation list items to
echo " id=\"feaCitiesOn\"";
Then created a style for #feaCitiesOn
I can’t post my site yet because I have to hide it with a Maintenance Mode plugin until it’s approved to go public.