• I have “Force Single Highlight” enabled in the settings, and on my page, when I scroll down and the next ID appears at the bottom of the page, the highlight switches to that next ID right away. I’d rather it keep highlighting the topmost ID in the window instead of the bottommost ID. Is there a way to change that?

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

Viewing 1 replies (of 1 total)
  • Plugin Author malihu

    (@malihu)

    Not really. There’s no option to force highlight the first element.
    Right now, the only way to set specific highlight areas for each section is via the target_ parameter (more info: http://manos.malihu.gr/page-scroll-to-id/2/#links-highlighting-section) but in order to use those you need to implement the plugin in your theme manually.

    Maybe you could disable “Force Single Highlight” and highlight the first element via CSS. For example:

    .mPS2id-highlight:first-child{
        /* your highlight properties... */
    }

Viewing 1 replies (of 1 total)

The topic ‘Force Single Highlight Topmost ID’ is closed to new replies.