Custom Styling
Use a custom stylesheet to define viewer styles
From Ontime v.1.6.0 and later, you can override the app-defined styles by changing a supplied CSS override file.C:\Users\cv\AppData\Roaming\ontime\styles
For PC users:
On installation, the CSS file is created in the user directory. By default, this would be : C:/Users/<user>/AppData/Romaing/Ontime/styles/override.css
For Linux users:
- On installation, the CSS file is created in the Home directory: /home/<user>/.Ontime/styles/override.css
For Mac users:
- On installation, the CSS file is created in the user directory. By default, this would be in ~/Library/Application Support/Ontime/styles/override.css
This feature can be toggled on / off at Settings -> Viewers.
Notes on style overriding
There are a few CSS variables which allow for quick customisation of the viewers, this would be the fastest way to get some branding going
Alternatively, you are able to define your own style sheets. This means that you can fully customise any page as you wish. This implies inspecting the page with the browser devtools to find the relevant selectors
Last updated