• Hello,

    thanks for the great plugin!

    I have the following problem: I have one section on my one-page website that doesn’t vertically stretch across the whole screen size. When I reach that section the next sections’ menu item is also highlighted.

    You can see it at work here: http://christinegoldammer.de/

    The problematic sections are:
    – “Die Vier Säulen meiner Arbeit” and
    – “Beziehung & Beratung” (in the menu it gets highlighted when “Die Vier…” is still in view.

    Thanks a lot and regards, Arne

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

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

    (@malihu)

    Hi,

    You can check “Force single highlight” in plugin settings.

    Alternately, you can apply the solution found in “More than one links are highlighted! How to highlight only the first one?” in plugin FAQ.

    Thread Starter Arne Teubel

    (@arnerobot)

    Hello,

    thanks for your help malihu and duchesscorp! I tried “Force single highlight” without success. How excatly do I use the method with “first”, duchesscorp?

    Thanks a lot and regards –
    Arne

    Plugin Author malihu

    (@malihu)

    @arne Teubel

    I think you need to define a highlight selector in plugin settings because you have 2 menu elements (one on top and one sticky).

    In plugin settings add the value:
    .cloned .menu-item a
    in “Highlight selector(s)” so only the cloned/sticky menu links get highlighted.

    See if this helps.

    For info on using -first and -last variations of the highlight class see:
    http://manos.malihu.gr/page-scroll-to-id-for-wordpress-tutorial/#links-highlighting-section

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

The topic ‘Highlights 2 menu items’ is closed to new replies.