Code for Image on hover instead of color changing

edited May 2017 in Theme support
Hi!

Is it possible to have an image when I hover over the submenus of the header, rather then the standard color change?

For example, take a look at this website --   http://www.servion.se   -- 

If you hover over ''TJÄNSTER'', the submenus comes down and are visible in white
Now when you hover over the submenus, the color changes from white to grey.
Is it possible to change this hovering effect from the standard colouring (of grey in this example) to an image instead? Meaning, when I hover over the submenus, the white does not become grey, but instead shows a picture in the background.

Is there a code for this I can use in CSS?

Thank you!



---------------
Edit:

And one more thing, is the same principle possible on the sidebar?
If you click on ''TJÄNSTER'' and enter the page, there is a sidebar to the left. Atm the selected one is orange and upon hovering on other pages of the same sidebar they also become orange. Is there a code for having an image here as well, rather then just the color orange.

Comments

Sign In or Register to comment.