Autonav Header Menu Customize

Permalink
Please visit

http://www.annaexpress.com and see the header autonav. I am trying to spread it out across the page and fit the nav option in on line.

How can I do this??

Thanks in advance.

 
hostco replied on at Permalink Reply
hostco
/blocks/autonav/templates/drop_down_menu/view.css

line 11

Change this
.menu {
    font-family: arial,sans-serif;
    height: 32px;
    position: relative;
    width: 745px;
    z-index: 100;
}


to this

.menu {
    font-family: arial,sans-serif;
    height: 32px;
    position: relative;
    width: 960px;
    z-index: 100;
}


Next you will need to remove a couple of pages from the top level as you have to many.
SignallHill replied on at Permalink Reply
Thanks for pointing me to right direction. I have fixed the nav

I have another issue if you know what to do please help me.

The nav has "Packages" parent page which the user does not need to see. I have an attribute called disable_link_in_nav which is turned on for the page.

I have added the following in view.php in my autonav template

If the attribute is the above then
$pageLink = "javascript:void(0)";

But I get an error in $pageLink = "javascript:void(0)"; in the browser.

Any idea why?

Thanks a lot
hostco replied on at Permalink Best Answer Reply
hostco
It would be really hard to say what is the cause of the error without going through the code.

Try renaming the page.

Its possible that "packages" is conflicting with the actual /packages directory in the root of concrete5.

Dont just change the name of the page, make sure to change the canonical URL as well under "Page Paths and Location".

When you change the Canonical URL it will automatically add the old URL to "More URLs" right below it. Be sure to delete it from there as well before saving.
SignallHill replied on at Permalink Reply
Thank you very much, I did not think of Packages creating an issue.

I have not tried the autonav but, this was the reason why google was not indexing this section of the site as robots.txt was blocking it.

I will try autonav now and see if this fixes it. I will get back to you about that.

Thanks again