The flash of the content is due to the order in which your content is loaded in by the browser. What I would suggest is having the div with the .container class be hidden by default via in-line styling and the loader be visible by default. Your jQuery snippet can then easily switch them out once you content fully loads!
The flash of the content is due to the order in which your content is loaded in by the browser. What I would suggest is having the
div
with the.container
class be hidden by default via in-line styling and the loader be visible by default. Your jQuery snippet can then easily switch them out once you content fully loads!Wonderful, that worked! Thank you so much - great solution.