Okay
  Public Ticket #1480095
One Page Menu Highlights
Closed

Comments

  • Ian started the conversation

    I am using a one page setup and menu links are working properly. As you scroll down the page, the appropriate section is highlighted and the # for section IDs works fine. My problem is that the HOME link always stays highlighted regardless of where you are on the page.

    Is there a way that the HOME link will be highlighted only when your are on the full screen image at the top? In the attached image you can see that the clinics section is highlighted, which is what i want. But when this happens, I don't want HOME highlighted.

  •  8,467
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .home .current_page_item :after {
        display: none !important;
    }
    body[data-header-format="left-header"].home #header-outer[data-lhe="animated_underline"] header#top nav >ul >li:not([class*="button_"]).current_page_item >a {
        color: #000 !important;
    }

    Thanks


    ThemeNectar Support Team