Home › Forums › CSS › FOUC Subsequent to Incorporating Critical.css › Reply To: FOUC Subsequent to Incorporating Critical.css
October 29, 2019 at 4:54 pm
#298107
Participant
There are two ways off the top of my head in which you could tackle this issue.
-
(probably the easiest) You seem to already have a JS loader, where the content will show after fully loading, but said JS isn’t loading early enough, hence why you’re seeing the FOUC before the JS loader has… loaded.
-
(what I would do) Get rid of the JS loader and amend your critical.css to include styles relating to everything “above the fold”. This means styles for all the content you see when you first load the page before scrolling. Anything below can load later.