Header
In this section, we’ll cover how to personalize key elements of your on-premises instance. You can customize the site title, navigation links, header, footer, and logo according to your preferences.Site title
The navigation bar title can be customized with theOVERLEAF_NAV_TITLE environment variable, this text is used in the top left corner of navigation if no logo is set.
Logo
You can add a custom logo rather than using text by setting the environment variableOVERLEAF_HEADER_IMAGE_URL. This value should point to an externally hosted image file.
config/variables.env
Light and dark theme logos
From version 6.3.0, you can set separate logos for the light and dark themes with theOVERLEAF_HEADER_IMAGE_URL_LIGHT and OVERLEAF_HEADER_IMAGE_URL_DARK environment variables. Both values should point to an externally hosted image file.
If either variable is not set, that theme falls back to the logo set in
OVERLEAF_HEADER_IMAGE_URL.Header navigation links
Extra navigation items can be added to the navigation header by setting theOVERLEAF_HEADER_EXTRAS environment variable to a JSON array of objects. For example:
toolkit/variables.env
Footers
It is possible to customize both the left and smaller right footer (found on pages like/project) using the environment variables OVERLEAF_LEFT_FOOTER and OVERLEAF_RIGHT_FOOTER. Both expect an array of JSON objects which will be inserted.
Both expect an array of JSON which will be inserted.
When using
text only, it must not contain HTML as the value will be rendered as raw text.config/variables.env
In addition to
text and url, the JSON object also accepts the properties class and label for additional customization.Maintenance page
You can customize the message shown on the Maintenance page with theOVERLEAF_MAINTENANCE_MESSAGE environment variable, this text replaces the default message below the page title.
OVERLEAF_MAINTENANCE_MESSAGE_HTML instead. If both are set, OVERLEAF_MAINTENANCE_MESSAGE_HTML takes priority.
OVERLEAF_MAINTENANCE_MESSAGE is rendered as plain text, so it must not contain HTML. OVERLEAF_MAINTENANCE_MESSAGE_HTML is rendered as HTML without escaping.OVERLEAF_STATUS_PAGE_URL is set, and shows the admin email address when it isn’t.
