AutoNav Template making nav appear twice on page but once in the source
Permalink
I have been racking my brain over this one for days so now I'm turning to you guys to help!
for some reason my custom autonav template is showing the nav twice on the page but if you look in the source it is only there once.
At first I thought it may be a cache issue so i turned off all the caching and cleared the cache but this had no effect.
website:http://www.avalonsclassics.co.uk...
i have created a custom Auto-Nav template and this is the part that actually creates the nav:
PLEASE HELP!!!
for some reason my custom autonav template is showing the nav twice on the page but if you look in the source it is only there once.
At first I thought it may be a cache issue so i turned off all the caching and cleared the cache but this had no effect.
website:http://www.avalonsclassics.co.uk...
i have created a custom Auto-Nav template and this is the part that actually creates the nav:
$linknumber = 0; echo '<nav class="ccm-responsive-navigation original"><ul class="nav navbar-nav av-menu">'; //opens the top-level menu foreach ($navItems as $ni) { $linknumber++; switch ($linknumber) { case 1: echo '<li class="av-link ' . $ni->classes . '">'; //opens a nav item break; case 2: echo '<li class="av-link av-brand-left ' . $ni->classes . '">'; //opens a nav item break; case 3: echo '<li class="av-link av-brand-right ' . $ni->classes . '">'; //opens a nav item break; case 4:
Viewing 15 lines of 26 lines. View entire code block.
PLEASE HELP!!!
The JS script file included in the template i copied to modify was creating the nav again but at the bottom of the page in a div called 'ccm-responsive-overlay'