Can I use custom fonts in Boost without creating a child theme?

Can I use custom fonts in Boost without creating a child theme?

by Dean Thayer -
Number of replies: 2

I learned a lot from this discussion and this documentation about how I can do almost everything I want to do without creating a child theme, but one major hurdle remains for me. We use Webfonts from cloud.typography.com for our web sites that I would like to use in Moodle as well. Is there any way to do this in Boost using presets or the Raw SCSS box(es)?

Average of ratings: -
In reply to Dean Thayer

Re: Can I use custom fonts in Boost without creating a child theme?

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Dean,

I dare say you could experiment by adding your site's font links in the Head section of the Additional HTML options.

Site Administration > Appearance > Additional HTML

That way you would be able to use them no matter what theme you used.

You can then add the CSS that is needed into the Raw SCSS (2nd box) in Boost > Advanced settings. Just take care to end each CSS rule with a semi-colon otherwise it will return an error when you try to save it.

Hope that helps...?

Mary

In reply to Mary Evans

Re: Can I use custom fonts in Boost without creating a child theme?

by Dean Thayer -

That is a splendid suggestion! I will put my limited skills to work and see what I can do with it.