too fast closed – sometimes there are different ways to obtain one effect.
Source thread is here: https://kriesi.at/support/topic/add-hover-on-logo/
on modern browser times you can use filters instead of a javascript. this influence is imediately done – no waiting till page is loaded:
Chrome (Google) will force the use in the future and will support this methods.
see example page here : https://webers-testseite.de/8-columns/
hover the white filed under the film ( green border) that was your original white png – which is transformed through filter-combinations:
(i gave container with the image a custom class to selct it better – on logo you can do it via .logo img:hover )
.logohover img:hover {
-webkit-filter: invert(0.25) sepia(0.32) hue-rotate(30deg) saturate(10);
filter: invert(0.25) sepia(0.32) hue-rotate(30deg) saturate(10);
}
and you can even do a focus state if you like
Or – like in former times ( than you can have different colors etc. ) with a sprite image and only shift by css the “image”
Big advantage of sprite images is that all you need is allready loaded because both images are combined in one with known distance