Site logo

Archived topic

"nothing you could do" Font not displaying

3 replies · Started by eduard sans on May 27, 2021

Viewing posts 1–4 of 4

Hi there, I'm using a class for headlines in which I use the "nothing you could do" font but it doesn't display on other devices other than mine.

Here's the website:
https://viveenproposito.com/

Here's how it is supposed to look like (and how I see it in my computer, but not in my client's computer, nor on my cellphone):
screenshot

Here's the css I use:

.page h2 span, .page h1 span {
	font-family: "Nothing you could do", sans-serif;
	font-weight: normal;
	font-size: .7em;
	line-height: 1.2em;
}

Am I missing something¿?
Thanks!

Hi there,

the CSS only sets the style of the element.
It won't make the request for that font - GP will only request fonts if they are selected in the Customizer.

First you would need to add the font to Customizer > Typography - see here:

https://docs.generatepress.com/article/customizing-the-google-font-list/#adding-your-google-font-to-the-list

Then select that font for one of the headings - for example if you're not using the font elsewhere and you're not using the H6 element then set the H6 to your font - and GP will load it.... Then your CSS will work.

Oh great! Had no idea! Thanks!!!

You're welcome

This archived topic is closed to new replies.