I install a piwik in my server. but i need add other font in piwik.
I don't use google fonts in my piwik.
How to add @font-face
in piwik?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.
Sign up to join this communityI install a piwik in my server. but i need add other font in piwik.
I don't use google fonts in my piwik.
How to add @font-face
in piwik?
Piwiki's default theme is Morpheus and uses LESS pre-compiled CSS. You will need to edit theme.less and change the @theme-fontFamily-base
. If you want to use @font-face
then you need to add it to the base.less and theme.less adapting your font-face code for LESS, alternatively, use an plugin if you're not confident with LESS.
There is an example-plugin which shows how to change the default font in piwik to Arial: https://github.com/piwik/plugin-ClassicFontTheme
You can write your on plugin which changes the font in the same way.