Tagged: active, main Navigation
-
AuthorPosts
-
August 2, 2016 at 1:33 pm #667618
Dear Support Team,
I did it alone managed to adjust the main navigation via css.
My goal was to show the active page in the navigation. I managed to do.By clicking on a point in the dropdown, the active status has disappeared in the main navigation :-(
Here it works: http://s624278601.online.de/service-fuer-buerger/
Nere not: http://s624278601.online.de/wie-stelle-ich-meinen-antrag-2/
Can you help me, that the active status is always shown?
This is my current code for main menu:
li.current-menu-item > a > .avia-menu-text { background-color: #ffffff !important; color: #000000 !important; }
This is my current code for drop-down menu:
.header_color .sub-menu > li.current-menu-item > a, .header_color .sub-menu > li.current_page_item > a { background-color: #ffffff !important; color:#000000 !important;}
Thank you sooo much!
Lorbeer Design- This topic was modified 8 years, 4 months ago by LorbeerDesign.
August 2, 2016 at 2:37 pm #667665Hey LorbeerDesign,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.av-main-nav > li.current-menu-ancestor > a > .avia-menu-text { background: white; }
Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.
Best regards,
YigitAugust 2, 2016 at 2:46 pm #667674Hi Yigit,
wonderful! But if I click in the third navigation level disappears again. Just like here: http://s624278601.online.de/junge-menschen-unter-25-jahren/
Best regards,
Lorbeer DesignAugust 2, 2016 at 3:34 pm #667695Hey!
First and second level menu items are not being recognized as parents. Please make sure that you set second level menu item as parent.
Regards,
YigitAugust 3, 2016 at 7:38 am #667936Hi Yigit,
I have the 2nd navigation level set as a parent. But the navigation is unchanged ?!Regards,
Lorbeer DesignAugust 3, 2016 at 12:39 pm #667974Hi,
As I understand you like to highlight the parent navigation when the submenu is selected correct?
Please open the pages that are submenu and select it’s parent page the navigation will highlight when the submenu is selected.
Best regards,
VinayAugust 3, 2016 at 12:47 pm #667979Hi Vinay,
Yes, I would like that the navigation point in the main menu is highlighted when I select a navigation point in submenu (sidebar left).
I have all the parents awarded (screenshots) but the navigation point in the main menu is not highlighted :-(
Regards,
Lorbeer DesignAugust 8, 2016 at 3:56 pm #669876Hey!
Please add following code to Quick CSS as well
.av-main-nav ul li.current-page-ancestor a { background: white!important; }
Cheers!
YigitAugust 9, 2016 at 7:11 am #670174Hi Yigit,
it did not work. The point in the main navigation is still not in the mouseover status :-(
My current code:
li.current-menu-item > a > .avia-menu-text { background-color: #ffffff !important; color: #000000 !important; } .av-main-nav > li.current-menu-ancestor > a > .avia-menu-text { background: white; }
Regards,
Lorbeer DesignAugust 10, 2016 at 11:43 am #670784Hi,
You had some CSS errors in your Quick CSS field, i fixed them and added following code to Quick CSS
.av-main-nav > li.current-page-ancestor > a > .avia-menu-text, .av-main-nav ul li.current-page-ancestor a { background: white!important; }
Please review your website now
Best regards,
YigitAugust 10, 2016 at 1:19 pm #670827Hi Yigit,
you are the best! It is now fantastic!
Thank you 1000 times!You can close the ticket :-)
August 10, 2016 at 2:35 pm #670843 -
AuthorPosts
- The topic ‘Active status in main navigation "current page"’ is closed to new replies.