#how do i change the font of h1 and h2 using google fonts?
16 messages · Page 1 of 1 (latest)
Hi, please link your wiki and any relevant pages. Otherwise we cannot assist you
(Use /auth in #bots to be able to send links)
Curtesy ping
I forgot
Thanks for your patience, you need to add this code to your css:
h2 .mw-headline, h1 .mw-headline, .firstHeading > * {
font-family: "Roboto";
}
to add other heading levels simply add more selectors after commas, and they should look like the selector for h2 (h3 .mw-headline and so on)
oh, mkayk thanks!
huh, weird
Anything wrong here? CSS from Common/Timeless.css can take a moment to update, it won't show changes on preview.
it did?
i recolored something and pressed [preview, and it applied it
Hmm. If it does maybe my memory is wrong here, but it still takes some time after saving the page in most cases. Also keep in mind adding incorrect css can disable the whole thing, or all css below it.