Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Sir Osis of Liver on July 08, 2018, 01:15:40 AM

Title: Main wrapper doesn't load
Post by: Sir Osis of Liver on July 08, 2018, 01:15:40 AM
Working in 2.0.15 Curve, added header above main wrapper, different versions for landscape and portrait view.  Have used javascript and css @media to detect orientation, seeing same problem -

(http://www.thekrashsite.com/pics/bcm_ss05.jpg)

Every 8 or 10 page loads, main wrapper disappears, only new header and Curve backdrop is displayed.  Others are seeing this in different browsers.  Refresh fixes it.  Any idea what could be causing this?
Title: Re: Main wrapper doesn't load
Post by: Aleksi "Lex" Kilpinen on July 08, 2018, 01:37:19 AM
I just tried the forum, on 3 different browsers and did not see any odd behavior.
I don't see anything in the code either that would immediately explain that, but just guessing -
it could be if something in the header isn't loaded properly it hangs waiting until it is done,
and would then appear to not load the rest of the forum?
Title: Re: Main wrapper doesn't load
Post by: Sir Osis of Liver on July 08, 2018, 01:43:37 AM
Beats me.  Switched from js detect to @media, same problem in IE11, but in android silk header sometimes doesn't load, but main wrapper is fine.  Back to js now, portrait view is fine, landscape still loads blank occasionally.  I'm about to remove the header, see if problem clears.