Adding items to the navigation bar
Introduction
After installing BookStack, I wanted to add my own items to the navigation bar at the top.
There are 2 methods to do this:
- Directly adjusting the core
header.blade.php
file. While this is the easy way, changing core files can create conflicts when updating BookStack. This method is not recommended. - Using the Visual Theme System to make the customizations. The core files are not touched, preventing conflicts when updating BookStack. This is the recommended method.
Confirmed working with BookStack v21.10 and v23.06.
Screenshots
Desktop layout
Before:
After:
Mobile layout
Before (left) and after (right):