Topic on Skin talk:Timeless

How can I change the font of H1 in this skin

3
Equalze (talkcontribs)

No matter what I change in the Common.css it remains as:

  • font-family (stack):"Linux Libertine", "Times New Roman", serif
  • Font being rendered: Times New Roman100.0%
  • font-size:30px


I am trying change the font to "Noto Sans Mono:Thin"


I have managed to change the body font - but the Headers seem impossible! Any advice appreciated!

Lost Student (talkcontribs)

Editing MediaWiki:Timeless.css instead of Common.css worked for headers. Have you tried that?

Amousey (talkcontribs)

Looking at the code in resources / screen-common.less and resources/themes/wikimedia.less, I think you need to set either .mw-body h1 or h1.firstHeading - css specifity rules means elements like h1 are ignored if more specific classes or ids are in use. Amousey (talk) 23:10, 20 July 2023 (UTC)

Reply to "How can I change the font of H1 in this skin"