Change color of inactive text in menus
PhotoMatt
Registered Users Posts: 40 Big grins
A need some help changing the text color of the inactive pages of my main menu. I have two menus. But when I'm on the sub menu I don't want the parent link to the sub menu to change. I've attached a sample pic of what I want it to look like.
http://www.mattedesignphotos.com/People
Thanks for any help you can offer.
http://www.mattedesignphotos.com/People
Thanks for any help you can offer.
0
Comments
A need some help changing the text color of the inactive pages of my main menu. I have two menus. But when I'm on the sub menu I don't want the parent link to the sub menu to change. I've attached a sample pic of what I want it to look like.
http://www.mattedesignphotos.com/People
Thanks for any help.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
It could be that you are using a different theme that I'm using. While I wanted the current directory/folder/gallery to be the same color, this is working on my site...
It might be easier to see your site when you change over to the new Smugmug.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
The code works to change the active pages but the inactive pages remain grey. The code below is what I originally had to change the active pages to red...
/* Change text color of active page */
.sm-page-widget-nav-activepage > a {
color: #a50100 !important;
}
.sm-page-widget-nav-activepage > a:hover {
color: #a50100 !important;
} (edited)
And this works. But I don't know how to get the top menu text color for inactive pages lighter with out changing the dark grey on the bottom menu or the parent active link. I'm probably doing a horrible job at explaining. I hope the image below can explain it a bit better. The "Before" is how the site looks now. The "After" is what I want it to look like. The bottom menu appears once I click People. The dark grey is the site wide grey I don't want to change. The red is the active link and only the top menu non active pages are light grey. I basically want to distinguish the top and bottom menus from each other.
sm-page-widget-xxxxxxxx
My Website index | My Blog
.sm-page-widget-12222444 ....
My Website index | My Blog
/* Change text color of active page */
.sm-page-widget-12222444 > a {
color: #a50100 !important;
}
.sm-page-widget-12222444 > a:hover {
color: #a50100 !important;
} (edited)
My Website index | My Blog
Now that the site is live can anyone help me try and figure this whole menu color thing. In my previous posts are samples of what I'd like to do but I haven't been able to figure it out. Anyone up for a challenge? Thank you all for your time and help.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
When I add the code to the entire site it changes the color of the bottom half of the page. What I want to change is just the inactive Top menu: links, People, Events, Retouched, Gallery, Clients, Booking to #c4c4c4. Not sure if this matters but I had to create a separate menu on each page. Attached is a sample of what I want it to look like.
Thank You!
Update: The code essentially removed my custom theme.