• Anna

    (@anna88sabu)


    Hello, I would like to display a single word in a heading in a different font.
    I have custom fonts mounted locally on the server, these are serif and sans serif.
    Now I want to design a heading and show one or more words in a font with serifs.
    Otherwise all headings are without serifs and I also preset everything with the cusomizer for the H1, H2 etc.
    But how can I change this for individual words?
    I was already in the Blocks: edit in HTML section, but I didn’t know exactly what to enter. Do you guys have any sample code maybe? Or is there a special setting in Astra or Gutenberg, Spectra, for this problem? It is not about changing colors for single words, this I can take care of. It’s about changing the font for individual words.
    Or is there a plugin for this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Anna

    (@anna88sabu)

    I have solved my problem myself. In the respective block area I have assigned a span class per html and then I have designed this individually with css, quite simply in the Customizer CSS.

    If someone still has a better solution, you are welcome to contact me here.

    Good to know that you have found the way to achieve it, @anna88sabu. And thank you for sharing the way how you did it.

    Please mark this thread as Resolved and feel free to start a new thread if there is anything else related to Astra, we can help you with.

    Kind regards,
    Herman ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘single word in different font, 2 different fonts in one heading line’ is closed to new replies.