How to disable Main Nav menu link
Permalink
Hello,
I've navigation menu with two level.
How to disable link of few items in first level.
For example
Home
Topics
-- Exercise
-- Runner
-- Cardio
About
Contact
How to disable link of Topics ? So users can only click on Child menus.
I've navigation menu with two level.
How to disable link of few items in first level.
For example
Home
Topics
-- Exercise
-- Runner
-- Cardio
About
Contact
How to disable link of Topics ? So users can only click on Child menus.
I don't want to remove it. I just want to disable it, so when user click on that menu, it will not redirect anywhere
ah, sorry
I don't think it's a build in feature, but I agree it should be possible. I'll look into it a bit more.
For now the 'Replace Link with First in Nav' attribute may help you. It will still be clickable, but redirect to the first sub-page.
You will need to install it by:
- go to dashboard/pages/attributes
- select 'add attribute' -> checkbox
- enter the handle: replace_link_with_first_in_nav
- enter the name: Replace Link with First in Nav
I don't think it's a build in feature, but I agree it should be possible. I'll look into it a bit more.
For now the 'Replace Link with First in Nav' attribute may help you. It will still be clickable, but redirect to the first sub-page.
You will need to install it by:
- go to dashboard/pages/attributes
- select 'add attribute' -> checkbox
- enter the handle: replace_link_with_first_in_nav
- enter the name: Replace Link with First in Nav
Thanks, It was Useful.
Did you ever figure out if this is possible in 5.7? In previous versions, you were able to add sub pages under an external link but it appears that functionality was removed in the most recent version.
instead of first in nav is there a way loop it back to the home page or remove its own page reference
It's a page attribute.
You can access them from the page (settings/design) or from the sitemap.
https://www.concrete5.org/documentation/using-concrete5-7/dashboard/...
https://www.concrete5.org/documentation/using-concrete5-7/dashboard/...