I like to add my custom font to my custom theming. All the font-files are in the file FONTS. And I also have a fonts.css file. Where do I have to declare all this stuff?


You need to use libraries. Take a look here for a detailed explination: https://www.kinetasystems.com/blog/adding-google-fonts-to-a-drupal-8-theme

  • This is not exactly what I am looking for, because I have my own font-files and no extern like from google. – lesley n. Jul 10 '16 at 20:58
  • 1
    it is the same for external and internal css files: drupal.org/theme-guide/8/assets – Tobias Krause Jul 12 '16 at 4:37
  • This is a good example of why just linking to an answer isn't sufficient and answers should provide more detail. The link is down. – Kimberly W Feb 27 '19 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.