Advanced Answers Module 8 - Adding Custom Fonts

Hi HH team – I’m working through this module challenge and am getting an error for “Add the font embed code to the head of the partials>layout.html.hbs file”. Are we supposed to do more than paste the font embed codes in the partial?

I am also getting an error for “Add font family in answers.scss file” but can’t figure out the issue because there are no errors in the code and the fonts seem to show up on staging.

Any ideas?

Hi Emily!

It looks like you added the right lines to the headincludes.hbs file in the theme – you should add this to the layouts/headincludes.hbs file in the top-level. That should solve the first problem!

Similarly, you also need to add the css updates to the static/scss/answers.scss file in the top-level and not in the theme.

In general, you should never update files directly in the theme. Soon, we’ll be implementing changes that will prevent this. The idea is that the theme is more of a reference point and when you upgrade the theme, it will wipe out any of the updates you made.

Thanks!
Liz