How To Enable Custom Google Fonts For Drupal 8 Website

There are several options how to enable custom fonts for Drupal 8 website, in this article I will stick with one of the easiest - using a custom module - @font-your-face

As usual, for this Drupal tutorial I will use a real-time scenario: For Tourgeorgia.eu website I'm using custom Premium theme adapted for Drupal 8, at one stage I noticed that example theme looks better than customized, and then I realized we are missing few fonts, which must be loaded manually.

As, said there are several options to handle this, but this time I decided to use a module. Again, there are two scenarios possible, either you are building Drupal theme from scratch and writing custom .css style or you are using a readily built theme. As in this case, I'm using the ready built theme, I won't touch .css part, as code already have been written.

  • Download and enable @font-your-face module
  • As for this case I'm using Google Fonts, enable Google Fonts module
  • Go to admin/appearance/font and enable custom fonts you need
  • Flush cache and enjoy result

Custom fonts enabled

Custom fonts enabled

 

Latest articles

Ādģēri: The 30K Mistake That Turned Into a Long-Term Experiment

In 2023, we bought Ādģēri in an online auction.Price: just over €30,000.Financing: ~6% interest.Total expected payment over ~5 years: ~€40,000.Status (April 2026): more than half already paid.On paper, it was a bad deal.Realistically, we overpaid by at least 5–6× relative to what the property was objectively worth at the time. No serious buyer…

Ādģēri |

Berlin Zoo and Aquarium: One of the Best Things To Do in Berlin With Kids

At the start of April 2026, during our roughly five-day trip to Berlin, we finally visited the famous Berlin Zoo for the first time - or at least the first time I can actually remember. There is a chance my mom might have taken me here sometime in the early 1990s, but if so, those memories are long gone. This visit felt completely new, and…

Germany |