Hi there,
If I´m on a main page that´s included in the main navigation the navigation element is highlighted. I´d like to have this element also highlighted when I´m on a subpage of this main page.
Any quick css available for that?
Thanks
Michael
Hi Michael!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.header_color .main_menu ul:first-child > li.active-parent-item > a .avia-menu-fx { opacity: 1; visibility: visible; }
Regards,
Yigit
Just to make it a bit clearer. See screenshot at https://dl.dropbox.com/s/34zdf0lemls635p/index.html
This is how it looks like on the mainpage “Leistungen” and I´d like to have that also highlighted the same way if I´m on a subpage of the main page “Leistungen”
Thanks again
Michael
You were faster than I was ;-)
But unfortunately it doesn´t seem to work
Hi!
It does work fine on my end – http://i.imgur.com/j7msgUr.png
Can you post the link to your website so i can take a look? :)
Best regards,
Yigit
Well for some reason it seems the css doesn´t get recognized
I added
.header_color .main_menu ul:first-child > li.active-parent-item > a .avia-menu-fx { opacity: 1!important; visibility: visible!important; }
to my child themes style.css file
Sure. The page “Pressecenter” is a subpage of “Unternehmen” you can see that in the URL as well
…/unternehmen/pressecenter/
Hey!
Please add following code to Quick CSS instead
.current-page-ancestor .avia-menu-fx {
opacity: 1;
visibility: visible;
}
Regards,
Yigit
Awesome. Works.