Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › (Emergency) Front Page Partially Loading [Firefox]
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › (Emergency) Front Page Partially Loading [Firefox]
- This topic has 8 replies, 2 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Neighborhood
-
February 17, 2016 at 8:01 pm #250110
To Recreate:
– Clear your Firefox Cache, Cookies and Offline Data
– Close all Firefox windows
– Open a Firefox window
– Navigate to http://gigacord.comWhat Is Currently Happening:
– Page loads the background image
– Page loads the slider (Royal Slider)
– Page stops loading, but noting but the background and slider are visibleWhat Should Happen:
– The page should load all page content promptlyWhat Is Causing This:
It appears there is a class on all ‘.container’ elements called ‘.wf-loading body’ which leaves these elements set at ‘visibility: hidden;’. I’m assuming that this class is removed when the page is done loading, which would remove the ‘hidden’ style. For some reason, this does not occur…There is an error in the console that reads: “Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required” [util.js:22:322]
Not sure if this error is preventing the necessary script to run or not, but just an observation.
Server (Host):
– Local IIS 8
– PHP 5.6Test Machines:
– Win 7 / Firefox 43.0.1 (Local)
– Win 7 / Firefox 43.0.1 (Remote)
– Win 10 / Firefox 43.0.1 (Remote)We have two very big deals riding on this site functioning, so please, can you help me fix this ASAP? Thanks in advance!
February 17, 2016 at 8:07 pm #250113CORRECTION:
The culprit style is located at: /themes/neighborhood/style.css (Line 224).wf-loading body {
visibility: hidden;
}So the style is not applied to the ‘.container’ class… But this ‘.wf-loading’ should be removed by jQuery, or the hidden elements revealed when the page loads, but that is not happening.
February 17, 2016 at 8:10 pm #250114What is the font option set to in the Theme Options => Fonts?
Thanks.
February 17, 2016 at 8:21 pm #250124Google (because FontDeck was causing problems before)
February 17, 2016 at 8:23 pm #250128I think that FontDeck was the cause of a similar issue (probably my last ticket). I believe this is something different… I could be wrong, but yeah.
February 17, 2016 at 8:24 pm #250136I patched this issue by adding this to the child theme’s CSS:
.wf-loading body {
visibility: visible !important;
}February 17, 2016 at 8:27 pm #250138Hi Derek,
That is the right fix, if you are not using any web fonts be sure your theme options settings are not loading any.
Thanks.
February 17, 2016 at 8:38 pm #250140Can you tell me what the original functionality was with this class? I believe it is used to hide elements on the template until the page is completely loaded. This would be nice, as long as it finishes revealing the other elements. I’d prefer to restore the original functionality if possible (instead of just forcing them to show).
Perhaps you could take a look at our Font Options and verify that they are configured properly? (For Google Font use)
I’m also a little confused as to the console error regarding the Google Maps API. Do you think this is throwing a wrench into the JS (thus causing the scripts to stop running)?
February 18, 2016 at 2:13 pm #250413Hi,
The class is used to smoothly load the fonts in without a flicker whilst the JS loads. If you are using Google fonts, please re-save your theme options and test without the added class. The issue is often caused if FontDeck is selected but not setup.
The console error regarding the Google Maps API can be ignored, this will amended in a future update by will not cause any issues – it’s just a warning.
Thanks.
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.