gabs007 Posted January 27, 2020 Share Posted January 27, 2020 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. Link to comment Share on other sites More sharing options...
opentype Posted January 27, 2020 Share Posted January 27, 2020 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? Link to comment Share on other sites More sharing options...
gabs007 Posted January 27, 2020 Author Share Posted January 27, 2020 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. Link to comment Share on other sites More sharing options...
opentype Posted January 27, 2020 Share Posted January 27, 2020 Like it says on the Google Fonts page: 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.