A question we expect to hear often, answered here so it is easy to find.
Question: Can my site show dark colours, and can my visitors choose light or dark for themselves?
Answer: Yes. Open
Components,
Webal Blocks, press
Options, and choose the
Appearance tab.
Site colour mode has four choices:
Light (the starting choice),
Dark,
Auto (follows the visitor's device) and
Auto with a visitor switch.
To turn the whole Cassiopeia page dark:
- Set Site colour mode to Dark, Auto or Auto with a visitor switch.
- Leave Dark styles for Cassiopeia on Automatic (recommended). Choose Off only if your child template has dark styles of its own.
- Press Save & Close. If Joomla's caching is on, clear the site cache.
For a switch, choose
Auto with a visitor switch, then add the Webal Colour mode switch module, or show the switch inside the Webal navbar. The choice is saved in the visitor's browser on that device, with no cookie and no tracking.
Good to know: the dark styles cover Cassiopeia and its child templates. They do not change the styles of other extensions, such as a shop or a forms extension. See
Dark styles and colour modes
.