Auto-Nav Problem
Permalink
Hi all,
I have a problem with the auto-nav, for some reason the order of my links are displaying in reverse. I have checked it and it isn't set up in reverse order of sitemap, even the preview dislays it in the right order. When I add another auto-nav to the page it displays in the order that I want.
I have even trie deleting it and re-creating it, but it still displays in reverse.
Any ideas as to why this is behaving in this way?
Thanks in advance
I have a problem with the auto-nav, for some reason the order of my links are displaying in reverse. I have checked it and it isn't set up in reverse order of sitemap, even the preview dislays it in the right order. When I add another auto-nav to the page it displays in the order that I want.
I have even trie deleting it and re-creating it, but it still displays in reverse.
Any ideas as to why this is behaving in this way?
Thanks in advance
are you using a custom theme?
Yea I'm using a custom theme here is the code in which declared it an editable region if this helps
<div id="navigation">
<ul>
<?php
$a = new Area('Header Nav');
$a->display($c);
?>
</ul>
</div>
<div id="navigation">
<ul>
<?php
$a = new Area('Header Nav');
$a->display($c);
?>
</ul>
</div>
can you link to the site?
The site isn't live yet, wanna get this sorted before it does go live
try deleting the <ul> tags around it. (even if it doesn't work that gets outputted by c5, so its a good practice.)
I have deleted the <ul> tags but it still hasn't changed anything
Are you sure the structure of the sitemap is in the right order? It's always worth going into the dashboard and checking out the sitemap tab.
I might also be worth looking at your CSS, if your running a horiztonal nav then it might be something like text-align: right instead of left.
Do you have a link to the development site?
I might also be worth looking at your CSS, if your running a horiztonal nav then it might be something like text-align: right instead of left.
Do you have a link to the development site?
It was the CSS I always get a bit confused when dealing with navigation bars I'm slowly learning though lol
Cheers R1Creative
Cheers R1Creative