Tagged: menu styling, sticky menu, transparent menu
-
AuthorPosts
-
May 10, 2017 at 6:32 pm #791263
Howdy,
This is a revisiting of a problem that I hoped was solved about a month ago: https://kriesi.at/support/topic/transparent-menu-settings-interfering-with-non-transparent-pages/
Essentially, the settings for a transparent menu (which only applies to the home page) interfered with nav link colors on everyother page.
Check the link above, Enfold Support kindly solved it for main menu items.
But, the client created a drop down item (ABOUT US / Resources).
If you hover over “Resources”, it turns white instead of remaining as #666666. If you click on resources, the “About Us” parent item turns to white (instead of remaining #666666) which makes the text disappear.
Here’s the code we implemented to get the main menu working correctly:
.header_color .main_menu ul:first-child > li.current-menu-item > a, .header_color .main_menu ul:first-child > li.current_page_item > a, { color: #666666;}
.header_color .main_menu ul:first-child > li.current_page_item > a { color: #666666;}
#avia-menu li:hover a {
color: #666666;
}The website is in the private content area, as are login credentials should you need them.
Thanks!
May 11, 2017 at 1:09 pm #791618Hey raisonbrands,
Please add this code as well:
.header_color .main_menu ul:first-child > li.current_page_ancestor > a { color: #666666 !important;} #avia-menu .sub-menu li:hover a { color: #666666 !important; }Let us know if that works! :)
Best regards,
Sarah-
This reply was modified 8 years, 5 months ago by
Sarah.
May 11, 2017 at 10:22 pm #791954Thanks Sarah!
So that keeps the “Resources” drop down item from turning white at hover, which is awesome.
But, when you click on “Resources” and go to the resources portfolio page, the main parent nav item “About Us” still turns white and thus disappears, (although it does reappear upon hover).
Any ideas?
May 12, 2017 at 6:18 am #792076Hi!
I edited the code in my previous reply. Can you try that one?
Best regards,
SarahMay 12, 2017 at 6:46 pm #792447Thanks Sarah!
Working like a charm.
Have a great day!
May 13, 2017 at 4:08 am #792589 -
This reply was modified 8 years, 5 months ago by
-
AuthorPosts
- The topic ‘Transparent menu settings interfering with non-transparent drop down menu items’ is closed to new replies.
