Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Issue With Search Options Loading
- This topic has 6 replies, 2 voices, and was last updated 10 years, 11 months ago by
Ernest Marcinko.
-
AuthorPosts
-
June 30, 2015 at 12:11 pm #5150
jesseslam
ParticipantHi,
When navigating between pages of the website for a split second a large drop down appears below the search box showing all the search options in the header do you know how we can stop this from happening?
Regards,
James Isles
June 30, 2015 at 12:49 pm #5153Ernest Marcinko
KeymasterHi!
It’s extremely hard to tell unless I see the problem.
I believe this might be an example of Flash of unstyled content. It basically happens when the browser parses the HTML faster, than loading the CSS files, and it displays the content unstyled for a split second. I believe some solutions exist to this issue, but it’s not plugin related.
I might be wrong though. If you have an url to look at, then I might be able to tell more.
June 30, 2015 at 12:55 pm #5154jesseslam
ParticipantI put the url in the ticket details can you not see it? This is the domain http://www.duracomposites.com/.
June 30, 2015 at 1:02 pm #5155Ernest Marcinko
KeymasterOkay, thank you!
The problem is exactly what I was suspecting. I looked at the page source and some CSS is printed as inline into the site header – which is all right, it should not cause the flash. However there is lots of other plugin CSS in the site footer. I see rev slider and other plugin CSS there as well.
If you look closely you can also see the logo and the button styles flash if empty the browser cache.
The cause might be a cache or CSS minification plugin possibly. Pushing CSS into the site footer makes your site faster, however it may also cause a flash of unstyled content. Try to re-configure the cache/minification plugin to print the CSS to the site header, it should solve this problem.
June 30, 2015 at 1:24 pm #5156jesseslam
ParticipantOK great thanks Ernest I’ll give that a try.
June 30, 2015 at 3:52 pm #5158jesseslam
ParticipantI’ve had a play and can’t see to fix the issue. We are using W3 Total Cache with Memcache enabled on our server, do you have any idea as to which setting we need to stop this happening?
June 30, 2015 at 4:53 pm #5159Ernest Marcinko
KeymasterI believe it’s going to be W3TC. It has a minify option where I think you can define where to put the minified CSS.
Try to disable W3TC and test it by refresh your homepage by pressing CTRL + SHIFT + R a few times on google chrome or firefox. If the site “flashing” doesn’t stop, then it’s something else.
-
AuthorPosts
- You must be logged in to reply to this topic.