• Resolved jkash23686

    (@jkash23686)


    First off great plug-in I’ve gotten everything working except highlighting what section you are currently on. I’m using the native navigation. And have added classes to try and help but nothing seems to work.

    The site is at:
    http://xeroproject.com/superswank

    and the classes I’ve tried adding to the CSS:
    a.mPS2id-highlight {
    color: #b90000;
    background-color: transparent;
    }

    a.mPS2id-clicked {
    color: #b90000;
    background-color: transparent;
    }

    Any help would be appreciated

    https://ww.wp.xz.cn/plugins/page-scroll-to-id/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    You should leave Highlight selector(s) field empty (or set it to your menu links selector: #main-menu a).

    It seems that you’ve set it to #about, which is just your first section selector, meaning the script tries to highlight the link with the id #about.

    Thread Starter jkash23686

    (@jkash23686)

    I was trying to highlight about first. I also just tried both #main-menu a and leaving blank neither of which will work.

    Thread Starter jkash23686

    (@jkash23686)

    Also when I leave it blank it auto populates to mPS2id-clicked etc.

    Thread Starter jkash23686

    (@jkash23686)

    Go it. the style was working for some reason I had to add !important to the color.

    Thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Highlight Current Section’ is closed to new replies.