Heading font jumps back to an unselected font

  • Unknown's avatar

    Hi,

    I just started my blog with a free account: http://millennialmemories.wordpress.com/.
    I have some problems with changing the font of my headings.
    I selected the default font of the vintage camera theme but every time I check the site, the font keeps changing back to another font. The preview is fine, but there’s something wrong in the final version. It continues to jump back to another font. You can see the font is changing when you open the website (2 seconds). I don’t know how to solve the problem. In the widgets there are two columns with the right font, but the third one has the same problem.

    When I take a look at the style sheet in the HTML-code, I receive this message: “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.” I don’t know if this has anything to do with the problem? And I actually don’t understand CSS.

    Thanks for helping!

    Cindy

    The blog I need help with is: (visible only to logged in users)

  • Hi @millennialmemories!

    On slower connections, we display text in the theme’s default font first. This way, people can start reading your content before the custom font loads, instead of waiting while looking at a blank page. This might mean that there’s a flash of a different font before the page finishes loading, but we think overall this is better for folks on slower connections than seeing a blank screen.

    The CSS snippet above will display a blank screen instead.

    .wf-loading body {
      visibility: hidden;
    }

    For a little more background on why this works the way it does, you can read this thread :)

  • Unknown's avatar

    Thanks for your answer.
    But I’m currently using the theme’s default font for all of my headings. I don’t use another custom font, so why does it show a font that I didn’t select?

  • Oh! I see now, thanks for clarifying. It looks like the base font is overriding the heading font settings on this theme. I’ve just opened a bug report so we can look into getting that fixed!

    Thanks for letting us know this is happening! We’ll post back here when we more info :)

  • Hi @millennialmemories!

    The issue that was causing the base font to override the headings font is fixed – you should be able to see the default heading font on your site now!

  • Unknown's avatar

    It works, great! Thanks for the support :)

  • The topic ‘Heading font jumps back to an unselected font’ is closed to new replies.