Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 27, 20205 yr 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.
January 27, 20205 yr Community Expert 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?
January 27, 20205 yr Author 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.
January 27, 20205 yr Community Expert 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.
Archived
This topic is now archived and is closed to further replies.