Title: Scroll Highlighting not working
Last modified: September 1, 2016

---

# Scroll Highlighting not working

 *  [bradyboyy88](https://wordpress.org/support/users/bradyboyy88/)
 * (@bradyboyy88)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/scroll-highlighting-not-working/)
 * Hi,
 * I was trying to set up the scroll highlighting so that as you scroll through 
   the page the menu items highlight to show the section you are on. Unfortunately
   I cannot get it to work. I have set the selectors to:
 * a[rel=’m_PageScroll2id’], .menu-item a, .menu-item-type-custom, .menu-item-object-
   custom, .current-menu-item a, .current_page_item a, .menu-item, .menu-item-type-
   custom, .menu-item-object-custom, .current-menu-item, .current_page_item
 * I really do not know what else to do to get these to highlight. I have it on 
   another site and it works great but not sure why this theme does or if I am setting
   it up wrong.
 * Thanks
 * My test website can be found at:
    [http://www.kennybusx460.testingsite101.website/](http://www.kennybusx460.testingsite101.website/)
 * [https://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/scroll-highlighting-not-working/#post-7619489)
 * Hi,
 * I checked your link and highlighting seems to work. You just have to add the `.
   mPS2id-highlight` in your CSS in order to style the (highlighted) links the way
   you want. For example:
 *     ```
       .navbar-custom .nav li > a.mPS2id-highlight {
           color: red;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Scroll Highlighting not working’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/scroll-highlighting-not-working/#post-7619489)
 * Status: not resolved