Site logo

Archived topic

Handwriting google font in a button

6 replies · Started by Iñaki Mansilla on November 12, 2017

Viewing posts 1–7 of 7

I have this structure in a page:

<p><a href="#">button</a></p>

Where the button has a class like so:

.myclass {
font-family: "Rock Salt";
}

This font is on GeneratePress typography list . It works fine in my browser, but it doesn´t in my iphone... What am I doing wrong??...

Thanks in advance.

Hi there,

Can you link me to the page?

Thanks!

Hi Leo.

I need my text button with the google font Rock Salt https://fonts.google.com/specimen/Rock+Salt?query=Rock. If I watch the page with my Mac works fine, but Right now both your iphone and mine either safari in my case and Chrome in yours, are not showing the desired font.

Thanks.

Have you included the font in your CSS? For example, you can add this:

@import url('https://fonts.googleapis.com/css?family=Rock+Salt');

I see... I though that was in case you need to add a font not included into the GP system. But yes, that works for me.

Thanks Tom!!.

This archived topic is closed to new replies.