Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1038024
    processpictures
    Participant

    Hi,

    I’m developing a one-page site, and since all the menu items are pointing to anchors on the same page, they all show active (bar underneath the item).

    I found another thread in this forum where someone had this problem and they were instructed to insert this into Customizer:

    .x-navbar .desktop .x-nav > .current-menu-item > a {
      box-shadow: none;
      color: #000;
    }

    (https://community.theme.co/forums/topic/single-page-navigation-all-menu-items-showing-active/)

    Unfortunately this didn’t change anything for me. Any help would be much appreciated.
    My development site is buglecourt.processpictures.com
    Please excuse the placeholder items and the leftovers from your demo, it is very much a work in progress. Thanks!

    #1038041
    Christopher
    Moderator

    Hi there,

    Thanks for writing in!

    Instead of absolute URL, please use relative URL to target sections, e.g : #featurevideo
    Make sure to enable ‘one page navigation’ for home page.

    Hope it helps.

    #1038059
    processpictures
    Participant

    Haha, that did it! Thanks so much!

    #1038062
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1038024 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>