Trying to customize current page via single image navigation
-
Hello,
I am building a site and am employing a single image navigation. It’s working perfectly except for the current page state. When indicating the current page in the navigation the image is not positioning correctly. It displays an overlap between two of the buttons. What code do I need to write/change in order to postion the image correctly on the current page? Will I need to use php?
I am using WordPress 3.4.2 and my own child theme of the Genesis framework 1.8.
Here is the site.
This is the current code I have for the single image navigation:
#menu-item-32 {width: 64px;} #menu-item-31 {width: 84px;} #menu-item-30 {width: 92px;} #menu-item-29 {width: 86px;} #menu-item-32 a:hover{ background: url("/wp-content/uploads/2012/09/sppm_imagenav.jpg") 0px 0px no-repeat; color: #fff;} #menu-item-31 a:hover{ background: url("/wp-content/uploads/2012/09/sppm_imagenav.jpg") -64px 0px no-repeat; color: #fff;} #menu-item-30 a:hover{ background: url("/wp-content/uploads/2012/09/sppm_imagenav.jpg") -148px 0px no-repeat; color: #fff;} #menu-item-29 a:hover{ background: url("/wp-content/uploads/2012/09/sppm_imagenav.jpg") -240px 0px no-repeat; color: #fff;}
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Trying to customize current page via single image navigation’ is closed to new replies.