# Switching between Fronts in a Text editor

**URL:** https://forum.shopware.com/t/switching-between-fronts-in-a-text-editor/49399
**Category:** International (English Only)
**Tags:** themes--design
**Created:** [10. November 2017 um 14:02 UTC](https://forum.shopware.com/t/switching-between-fronts-in-a-text-editor/49399 "2017-11-10T14:02:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Aslan\_Hoskin](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@Aslan\_Hoskin](https://forum.shopware.com/u/Aslan_Hoskin)
#### Post date: [10. November 2017 um 14:02 UTC](https://forum.shopware.com/t/switching-between-fronts-in-a-text-editor/49399/1 "2017-11-10T14:02:14Z")

</div>

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:&nbsp;[https://shopwareianer.com/tutorials/shopware-5-eigene-web-fonts-nutzen](https://shopwareianer.com/tutorials/shopware-5-eigene-web-fonts-nutzen)&nbsp; &nbsp; It worked for the first font and now all text&nbsp;in the shop is the first font but how do I change to the 2nd font for headings?

Thank you&nbsp;in advance.

---

<div class="post-metadata">

### Author: ![Orangenjager](https://avatars.discourse-cdn.com/v4/letter/o/ea666f/32.png) [@Orangenjager](https://forum.shopware.com/u/Orangenjager)
#### Post date: [10. November 2017 um 14:49 UTC](https://forum.shopware.com/t/switching-between-fronts-in-a-text-editor/49399/2 "2017-11-10T14:49:44Z")

</div>

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: …”

---

<div class="post-metadata">

### Author: ![flukerner](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@flukerner](https://forum.shopware.com/u/flukerner)
#### Post date: [18. September 2021 um 11:11 UTC](https://forum.shopware.com/t/switching-between-fronts-in-a-text-editor/49399/3 "2021-09-18T11:11:24Z")

</div>

[![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/0b5a4c9b4e13e991b4a878fb2204db78bb193169.png)](https://masterbundles.com/best-sharp-fonts/)
