Switching between Fronts in a Text editor

Hello,

I would like to change between 2 different Fonts inside the same text editor ( so I can have different fonts for headings and sub-headings ).

I used this tutorial to upload the fonts: https://shopwareianer.com/tutorials/shopware-5-eigene-web-fonts-nutzen    It worked for the first font and now all text in the shop is the first font but how do I change to the 2nd font for headings?

Thank you in advance.

There are at least two ways to do this:

  1. As you can see in the last screenshot in the tutorial, there is a @font-base-stack and a @font-headline-stack. If you replace the current content of @font-headline-stack with different fonts (like you did with @font-base-stack), the headlines should automatically use these fonts.
  2. You can adjust the rules for h1, h2… in your CSS to use a specific font with “font-family: …”