Jump to content

How Can I add Font to the Default Theme?


gabs007

Recommended Posts

Posted

Greetings.

I would like to add an additional font to the default theme.

Right now, the deafult theme includes 6 fonts: Lato, Open Sans, Roboto, Robot Slap, Montserrat & Merriwheather.
I'd like to know if I can manually add another google font in the selection: more precisely Rajdhani Font for H1, H2 and H3.

Help appreciated.
Thank you.

Posted
7 hours ago, opentype said:

Not sure I understand. You want them to be available as selection in the editor for members? Or force them on every h1, h2 and h3 without a user selection?

I'd like to force them from the Admin Panel, if possible. I don't want members to select what type of font they want to use.
I guess H1 H2 and H3 can be forced from the custom css, but I have no idea how.

Posted

Like it says on the Google Fonts page:

164724023_Bildschirmfoto2020-01-27um17_46_41.thumb.png.61a947df3266a59003955491a72d079e.png

The <link part goes into the header of your global template in the theme. 
The CSS goes in the custom.css, assigned to certain elements (like h2) or certain CSS classes you want to override. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...