Archived topic
parallax effect in header
4 replies · Started by Ralf on August 9, 2017
Hey Tom, Hey Leo,
i have the problem (after i have installed WP Smush) that the parallax effect in the header has now a grey space when scrolling down (???) ... do you have an idea how i can fix that ???
(example -> URL: http://industriealpine.ralfbayer.com/power-generation)
thanks in advance
fixed the CSS Code by myself :)
Out of curiosity, what CSS did you use?
well actually i didn't fix the code - it was kind of strange... Leo once gave me the following CSS Code because i had a similar parallax problem in the beginning editing this website:
.generate-content-header {
background-attachment: fixed;
}
i put this code in the "Simple CSS" tool and the pictures in the header worked fine...
yesterday i installed the plugin "WP Smush" because a friend who is specialized in SEO said, this tool compress pictures which are too big... i installed it and i had the same problem with the header again !
now comes the strange part - i deleted this CSS code Leo sent me once and everything was fine again (?) ... strange, but solved :)
Interesting. Probably some sort of caching issue.
Glad it's all good now!