Replaced: theme against LH Web Application’s lh_web_application-navigating body class instead. It is set while the next page loads and documented on LH Web Application’s Extending page. The details below describe the retired plugin.
The bar is a div with the id lh_navigation_listener-nav, inserted as the first child of body only in standalone display mode, and marked aria-hidden. While a navigation is in progress the script adds the class lh_navigation_listener-navigating to body.
Colours
Set these custom properties anywhere they inherit to the bar, for example on :root:
--lh-navigation-listener-track: the bar background (default#222).--lh-navigation-listener-bar: the moving indicator (default#fff).
Handles and filters
- Script handle
lh_navigation_listener-script(deferred, footer) and style handlelh_navigation_listener-style(inline CSS only, no file). Both are enqueued onwp_body_open, so they load only on front-end pages the theme renders. Dequeue the style handle to take over all styling in the theme. lh_navigation_listener_return_inline_css: filters the inline CSS. Return an empty string to print none.lh_navigation_listener_init_plugin: return false to stop the plugin loading.