Title: Highlight Current Section
Last modified: August 21, 2016

---

# Highlight Current Section

 *  Resolved [jkash23686](https://wordpress.org/support/users/jkash23686/)
 * (@jkash23686)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/)
 * 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](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://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/#post-4617763)
 * 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](https://wordpress.org/support/users/jkash23686/)
 * (@jkash23686)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/#post-4617783)
 * 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](https://wordpress.org/support/users/jkash23686/)
 * (@jkash23686)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/#post-4617784)
 * Also when I leave it blank it auto populates to mPS2id-clicked etc.
 *  Thread Starter [jkash23686](https://wordpress.org/support/users/jkash23686/)
 * (@jkash23686)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/#post-4617785)
 * 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.

 * ![](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/)

 * 4 replies
 * 2 participants
 * Last reply from: [jkash23686](https://wordpress.org/support/users/jkash23686/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/highlight-current-section/#post-4617785)
 * Status: resolved