{% load static %} {% comment %} navbar-expand-LG, not -xs. Tabler compiles only sm/md/lg/xl/xxl — there is NO navbar-expand-xs. With -xs, none of .navbar-vertical's fixed positioning matched and the sidebar rendered as a static full-width block. Silent: an unknown class raises nothing, it just never applies. The > .container-fluid child is REQUIRED — see base.html. Logo: was .logo-light/.logo-dark plus an inline style="display:none", with the swap driven by erp-dark.css rules that needed !important to beat the inline style. Tabler ships .hide-theme-dark / .hide-theme-light natively, so the inline style and those 4 CSS blocks both go. This also fixes dark mode rendering the LIGHT logo once erp-dark.css is disabled. {% endcomment %}