Problem with css addition and site security

  • Unknown's avatar

    I added css changes with my overall font and sizing. The problem is when the page loads the old values show first (flash up first) then my css settles in. How do I either get rid of what I put in or the original theme css? I honestly can not figure it out, I tried to change it in the code but it did not work so I must have done something incorrectly. Second issue is the site states that it’s not secure, how do I fix that? Thanks!

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

  • Hi there,

    I don’t see any custom CSS added on your site. You have only changed the fonts via the Customizer.

    That font flashing you’re experiencing is a technique where we use the theme’s default font to load the site’s content first instead of waiting for the custom fonts to load and get a blank page in the meantime.

    We believe this to be a better overall experience for visitors to your site but understand it’s not perfect either.

    However, we have come up with a CSS workaround if you wish to return to the previous way of loading fonts. The following code will prevent the flashing upon load:

    .wf-loading body {
     visibility: hidden;
     }

    To add this code go to My Site > Design > Customize > CSS.

  • The topic ‘Problem with css addition and site security’ is closed to new replies.