Hover in menu change image
-
Hi guys!
I’ve been searching the web for hours now and can’t get it the way I want with my menu.
I’ve managed to add images instead of text in my menu. Now I would like to change the image to another one when I hover the menu item, and also keep that hovered image when I’m on that current page.
This is the code I used to add the pictures.
#menu-item-178 a {
background: url(https://www.vendela-valentin.com/guiltyones/images/menu_full.png) no-repeat left top;
background-position:0 0;
height:35px; width:93px;
text-indent:-9999px;
}What can I change/add to add a picture to the hover and the current page as well?
And how do I get rid of this black hover box which is there right now?My webpage:
https://www.vendela-valentin.com/guiltyonesI’m using a Twenty Ten child theme.
Thanks!
- The topic ‘Hover in menu change image’ is closed to new replies.