Archived topic
css applies only at home page
4 replies · Started by spiros on November 20, 2018
Hi i tried to use a custom font with additional css and it takes effect only at home page i used :
.main-navigation {
font-family:dynalight;
}
nothing ? i tried ul li a too cant understand why it happens
Hi there,
Is that a custom font uploaded using @font-face?
If so, this guide might help: https://docs.generatepress.com/article/adding-local-fonts/
Also, it can take us up to 12 hours to respond to topics, depending on how busy things are in here.
Let me know :)
it was a plugin font but i followed your way and worked fine !!
i can use any font if i write the style.css code without the google helper right ?
thank you very much by the way
That's right, you just need to upload the font files to your child theme and reference them in your @font-face CSS :)