NO BUG: Nested Nav Menu Not Working As Global Element

Hello,

I have used a nested Nav menu as a global element but when I try to use that element on another page, it doesn’t display as I have created it, it just displays a different menu.

Any ideas what I am doing wrong?

Thanks.

Hi Soracle,
Thanks for your report!

The nestable nav menu cannot/should not be saved as a global element, as it is a nestable element. The same applies to nestable tabs, nestable accordion, container, block, … and so on.

When you save an element as a global element you save the selected element only. Its children are not saved as those are different elements. If a container contains other elements, and you’d like to save all of them, you have to save it as a template.

Reference: Global Elements – Bricks Academy

Thanks for the quick response.

Sorry for the misunderstanding. So if I save it as a template, and then edit that template on a page, will it update elsewhere?

Yes, if you add the nestable nav using the template element (instead of adding it directly to a page), it will update everywhere.

Why don’t you just add the menu to your header template?

Because this isn’t being used a header menu.