Working with wayfinder, and I have one top level nav item that will have 2 or 3 items in a drop menu. I really don't have any content for use as a landing page. Is there a way to set this one nav item to do nothing but serve as a trigger for the drop menu?
Is this something I set on the parent folder resource settings?
-
☆ A M B ☆
- 24,524 Posts
If you put rel="category" in the Attributes field of the resource, then use the &categoryFoldersTpl property in the Wayfinder snippet, you can use a chunk tpl that doesn't have the <a> tags. I usually use <span> tags instead, then in my CSS I can style the span to match the links in the rest of the menu items.
Thanks for all of the great suggestions. I'll try them out.
This is basically the same as firstchildredirect,
but It might be helpful to create those first level items as weblinks aimed at the first item in your list. You can optionally hide these items from your navigation if you don't want to have two links aiming at the same content.
Cheers,
pepebe
Or, make that document type a weblink and as url link to the firts item in your dropdown?
Yes. I think the weblink might be the way to go. Have to implement and make sure it doesn't impeded my current functionality for the mobile version of the menu. Thanks for the tip.