By browsing this site you agree to our use of cookies. Ok. Close

Remove white flashes when loading pages in WordPress

When you use big photos for background of your website, sometimes it may happen that when you navigate between pages, there are white flashes in between. There is simple fix to that problem: instead of including your background image in the ‘body’ tag in css, move it to the ‘html’ tag, like for example:

html {
background-color: #ddd;
background-image: url(images/bg.jpg); }

Comments are closed.