• The font header that I chose for the front end is also shown on the backend (gutenberg). How can I prevent this? I would like gutenberg to show always the same font, whatever font I chose for the frontend.

    Thanks a lot.

    • This topic was modified 8 months, 1 week ago by kaostc.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @kaostc

    Could you please explain a bit, do you want same font on both frontend and backend or different? I am saying this, because you said, how to prevent? This is making me confused actually. If you can give a little more context then it would be helpful for us.

    Best regards
    Muhibul

    Thread Starter kaostc

    (@kaostc)

    I want that the header font in the frontend doesn’t affect to the post title in the backend. I want the backend to use the same font for post title, whatever font is used in frontend for headers.

    I am using Divi, but it also happens in twenty twenty-five.

    Hi @kaostc,

    To ensure the backend uses a consistent font regardless of the frontend style, you can override Gutenberg styles by adding a custom editor-style.css file in your theme and enqueueing it with add_editor_style(). Define your desired font for the post title in this file. This way, the backend font remains unaffected by frontend styles.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Header styles in backend (gutenberg)’ is closed to new replies.