How to change a font family of a custom class?

If you want to target a specific element, you’ll need your custom class, along with the class that targets the part of the element you want to customize. For example:

@import url("https://use.typekit.net/fhd7jsm.css");

.heroTitle .rich-text__text {
    font-family: "congenial", sans-serif;
}
1 Like