Hello,
I want to add the adminbar profile hover (screen 1) to the navigation of the theme (screen 2), so I edit all css parts,
but I don’t find a way to add anything to the navigation bar at all.
Where is the navigation menu generated for the child themes?

I tried to edit gwangi\inc\template-functions.php on line 74 / 75, because it looks like there is the navbar__container generated,
but all changes in there have no result. Is it generated somewhere in the grimlock plugin?

The gwangi_header function located in gwangi/inc/template-functions.php is only a fallback in case the Grimlock plugin is disabled, which is why changes in that file have no effect on the site.

If you are looking to directly edit the template responsible for the part of the navigation show on your screenshot, you will find it in the gwangi/inc/grimlock-buddypress/component/class-gwangi-grimlock-buddypress-navbar-nav-menu-component.php file, in the render function (which should begin around line 67). However please note that we don’t recommend modifying those files as you will lose your modifications if you update the theme later. And even if you create a child theme, be aware that overriding this component in a child theme requires advanced PHP knowledge; it will not work if you just copy that file in a child theme.

But if you just want to add new items to the hover menu, it’s a lot easier: just go to Appearance > Menu, then edit the “User – Logged In” menu.

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,The Themosaurus team.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Adding adminbar hover to theme navigation bar’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.