Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #582929

    Hi,

    How can I let the menu working correct on my site? In my menu I’m using the sections-ID to navigate to. The navigating is working fine. I would only like to highlight the section where I am. How can I do that?

    See http://bit.ly/1TcA3cl

    Regards,

    Erwin

    #582933

    btw. the little line under the menu-items make it what you want if you have choosen it for styling.

    so the class interesting is “current-menu-item” added even to achor elements

    fe:

    li.current-menu-item a {
        color: #900 !important;
    }

    so it might be best if you add this code to your quick css but in enfold options choose the same color for
    “Logo area font color” and “Logo area secondary font color” Otherwise the home stayed marked as active.

    #582935

    but the problem could be that the id (Anchor) only is for that color-section – so if you leave the color-section by scrolling to the text beneath it will have a fallback to “home”
    so try it – because only setting this thing to your site via firebug (developer tools) maybe different

    • This reply was modified 8 years, 2 months ago by Guenni007.
    #582936

    Hi,

    Thank you for replying! I noticed that fall-back. The contact-form at the bottom wasn’t in a own section, so there it falls back to home. o I’ve given it an own section. Now it’s working fine! Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How can I highlight the current-menu on a single-page-site’ is closed to new replies.