Navigation Hover Color and Active Page Location Color
Visual Voodoo
Registered Users Posts: 70 Big grins
Hi guys.
Can anyone help me with the following?
1) On my website (http://www.thephotoguru.com), I would like to fix the navigation links at the top of the page so that the color orange (#E58627) shows when I hover over the navigation item in the header.
2) In addition, I would like the active page that you are actually on to show that same orange at least 3 levels deep.
0
Comments
You will need to add the three (People, Places, Things) galleries/folders to your menu, UNDER your Portfolio. Then go to 'Menu > Links'. Click on the ">" 'edit this item's properties' then turn 'ON' Include Sub-Links.
Then add this to your CSS.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks Mike. Much better.
After I did what you suggested, nothing was happening, so I went into my code looking for a conflict and found and removed the code below:
Now on the first level, of the navigation, the hover color changes. But if you go one level down or two levels down in the navigation and the active link color (#E58627) goes away.
For example, If you goto Stock Photos, then select the folder 2017, now the navigation has gone away. Same thing if you goto Portfolio, then select People. The link People should be orange and the main menu item Portfolio.
Same thing with the breadcrumbs...it should show you your location with an orange link.
Sorry, I was kind of flying blind. Remove this:
Use this instead:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Thanks Mike.
1) It works on Portfolio 3 levels down with the orange color on main navigation, but not the same way on the Stock navigation.
2) How do I get the breadcrumb links to hover to that orange color?
I appreciate you taking the time to help Mike.
The same way you did with the Portfolio folder. You need to create a nav menu that lists all of your Stock Galleries in your 'Stock Photos'. Then replace this:
and use this:
I didn't know you also wanted to have your breadcrumbs orange when hovered.
Replace this:
Use this instead:
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
That's exactly what I wanted to do Mike. I would have never have guessed I would have to have done it that way. I really appreciate that!
Mike an issue came up on the iPhone and iPad in landscape mode when you try to select the menu option Portfolio or Stock Photos. Weird, huh? Click the link and nothing happens. So when the screen looks like it does below, nothing happens when you select either one of those menu options. Any clues how to fix that Mike?
I don't own a mobile device so I have to use this: http://quirktools.com/screenfly/#u=http://www.thephotoguru.com/&w=414&h=736&a=37&s=1
I'm not seeing any issues, but I'm not 100% sure I understand your question. Both your Portfolio and Stock links work when I use the 'iPhone 6/7' and 'iPhone 6/7 Plus' in landscape mode.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Ok...so to duplicate the issue in landscape mode, select the iPad Pro. It doesn't work for me as indicated above. The mobile menu works, but the menu when it appears on a mobile device as depicted in the image above (like when in landscape mode on an iPad Pro), you select one of those 2 nav options and nothing happens. Weird. I am thinking I may need to include code for those 2 main menu items. Just a guess but it's weird that every other menu item works except for the 2 that we modified with code and sub menus. What's your thoughts?
First thing I would do is to remove the code, specifically this:
And see if that works. If not start removing other portions.
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk