[SOLVED] Background image for current page item?
Hello again,
I'm working on a menu bar in which each individual link has its own background image (the "home" link has its own bg image, the "ads" link has its own background image, etc.) I've got that all working correctly. What I CAN'T figure out is how to configure the "current page item" function to work with the individual background images. So, for example, if a user is on the home page, I want the hover state of the home button to be displayed. If they're on the ads page, I want the hover state of the ads image to be displayed. This is what I have currently, but it's not working (obviously): Code:
div#menu1 ul.rMenu li.page-item-2 current_page_item a { I know I probably just have the code syntax incorrect. Any help is greatly appreciated :) |
It took me a bit but try this.
HTML Code:
div#menu1 ul.rMenu li.page-item-2.current_page_item a { |
That worked like a charm! Thank you so much!
|
All times are GMT -6. The time now is 09:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.