Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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/
    Screenshot 1

    Nere not: http://s624278601.online.de/wie-stelle-ich-meinen-antrag-2/
    Screenshot 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.
    #667665

    Hey 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,
    Yigit

    #667674

    Hi 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 Design

    #667695

    Hey!

    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,
    Yigit

    #667936

    Hi Yigit,
    I have the 2nd navigation level set as a parent. But the navigation is unchanged ?!

    Screenshot

    Regards,
    Lorbeer Design

    #667974

    Hi,

    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,
    Vinay

    #667979

    Hi 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 :-(

    Screenshot of navigation top and left
    Screenshot of site parents

    Regards,
    Lorbeer Design

    #669876

    Hey!

    Please add following code to Quick CSS as well

    .av-main-nav ul li.current-page-ancestor a {
        background: white!important;
    }

    Cheers!
    Yigit

    #670174

    Hi 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 Design

    #670784

    Hi,

    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,
    Yigit

    #670827

    Hi Yigit,

    you are the best! It is now fantastic!
    Thank you 1000 times!

    You can close the ticket :-)

    #670843

    Hey!

    You are welcome, glad we could help! :)
    Let us know if you have any other questions or issues

    Best regards,
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Active status in main navigation "current page"’ is closed to new replies.