Fix Navbar-Buttons

By default, buttons for Admin-Area and Login/Logout have a different styling than other links/dropdowns in the navigation bar.

With a single line of script-code in hooks/header-extras.php you are able to fix the layout and style.

new AppGiniCommon().navbar.fix();

Full code example

<!-- file: hooks/header-extras.php -->
<script>
  new AppGiniCommon().navbar.fix();
</script>

Comparison

Before

After

Do you like it?