Banging my head against this one.... Help would be great

Soldato
Joined
18 Oct 2002
Posts
5,191
Location
Riding my bike
Working on a site:

www.bordercraft.co.uk

Using firefox (on two separate machines) the site occasionally comes up with most of the block formatting but no content. Most of the time a refresh fixes it.

The 'view source' shows that the content is there, it's just that firefox is not displaying it (even in plugins disabled mode)

Chrome/IE/Edge are all fine.

Validation doesn't throw up anything too horrible.

Its a wordpress site with the flexform template (updated).

Any help would be very gratefully received.

FAILS:

fail%20%28Small%29.JPG


WORKS:

works%20%28Small%29.JPG
 
Last edited:
Soldato
OP
Joined
18 Oct 2002
Posts
5,191
Location
Riding my bike
Made the hacky change and sure enough after *about* 3 seconds the content pops up.

So it looks like you were bang on the money about the issue being that wf-loading was the 1st class.

The wf-loading class seems to be involved in the use of google fonts. I can see what the timeout function is doing, but I'm not sure why the classname needs to be removed after the timeout ? Is it in-case the font servers fail or the browser doesn't support them ?

Any suggestions as to a proper fix ?

I guess I could hard code in a base classname just to ensure the original replace code finds the ' wf-loading' search string....

The Problem seems to be that FF wasn't always triggering the timer which explains the intermittent nature of the problem.

Wierd and *many* thanks.
 
Back
Top Bottom