# Font flickers on page load

**URL:** <https://discuss.write.as/t/font-flickers-on-page-load/535>\
**Category:** Bugs\
**Created:** [April 12, 2019, 2:44am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535 "2019-04-12T02:44:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianpetty](https://discuss.write.as/user_avatar/discuss.write.as/christianpetty/32/227_2.png) [@christianpetty](https://discuss.write.as/u/christianpetty)\
**Post date:** [April 12, 2019, 2:44am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535/1 "2019-04-12T02:44:29Z")

</div>

Hi,

I used another user’s suggestion for how to inject custom web fonts into my site. I’ve since removed that CSS and JS but my website still behaves like it’s there.

I’ve cleared my browser’s cache and cookies but no help (also tried incognito in Firefox).

I’d like to go back to original fonts. My site is [christianpetty.com](http://christianpetty.com).

Thanks!

Edit: This also happens to all base write.as pages e.g. the dashboard.

Edit2: Also with snap.as. No other non-Write As sites though.

---

<div class="post-metadata">

**Author:** ![christianpetty](https://discuss.write.as/user_avatar/discuss.write.as/christianpetty/32/227_2.png) [@christianpetty](https://discuss.write.as/u/christianpetty)\
**Post date:** [April 17, 2019, 2:24am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535/2 "2019-04-17T02:24:31Z")

</div>

Update: It’s still flickering. One font loads when the page initially shows, then another after 5 seconds.

I don’t have any custom JS or CSS that should be bringing in fonts. Thoughts?

---

<div class="post-metadata">

**Author:** ![christianpetty](https://discuss.write.as/user_avatar/discuss.write.as/christianpetty/32/227_2.png) [@christianpetty](https://discuss.write.as/u/christianpetty)\
**Post date:** [April 17, 2019, 2:37am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535/3 "2019-04-17T02:37:56Z")

</div>

It sounds like the Write.as fonts are not loading quickly enough, and my browser’s default fonts are rendering.

I thought the fonts were supposed to be stored on the first load?

---

<div class="post-metadata">

**Author:** ![danielbowen](https://discuss.write.as/user_avatar/discuss.write.as/danielbowen/32/39_2.png) [@danielbowen](https://discuss.write.as/u/danielbowen)\
**Post date:** [April 17, 2019, 2:52am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535/4 "2019-04-17T02:52:33Z")

</div>

They should indeed be cached after first loading… Are you sure your browser’s cache isn’t disabled?

Either way, we might be able to change how the font loads so it doesn’t flicker when first loading.

---

<div class="post-metadata">

**Author:** ![christianpetty](https://discuss.write.as/user_avatar/discuss.write.as/christianpetty/32/227_2.png) [@christianpetty](https://discuss.write.as/u/christianpetty)\
**Post date:** [April 17, 2019, 3:31am UTC](https://discuss.write.as/t/font-flickers-on-page-load/535/5 "2019-04-17T03:31:41Z")

</div>

So I had cache enabled but I did disable cache delete on quit of FF. For some reason this seemed to fix it. I would have expected though that it would save at least for the same session.

Thanks!
