Skip to content

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.

Code Example

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

Showcase

This is the default Appgini-Navbar without the code

THis is the fixed version using new AppGiniCommon().navbar.fix();

See also