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

    (@malihu)

    Hello,

    This happens because 2 sections are considered (by the script) to be within the visible viewport (tested in vertical resolution 1080px). This in conjunction to ‘Force single highlight’ being enabled, means that the script highlights only the last link of those 2 sections (that’s why when page loads ‘Transports’ is highlighted but not ‘Organisation d’obsèques’).

    Update the plugin to (latest) version 1.5.6, as I’ve changed ‘Force single highlight’ option to highlight the first (instead of last) element.

    1.5.6 version also adds few additional classes like .mPS2id-highlight-first and .mPS2id-highlight-last which you can use in your CSS to specifically target and style the first or last of highlighted links.

    Thread Starter jmsilone

    (@jmsilcom)

    Hello,

    thks, it seems to work properly now.

    Regards.
    JmS

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘highlighted element is not expected element’ is closed to new replies.