Title: [Plugin: Simple Sidebar Navigation] Custom li Classes
Last modified: August 20, 2016

---

# [Plugin: Simple Sidebar Navigation] Custom li Classes

 *  [Keryn](https://wordpress.org/support/users/b-summers/)
 * (@b-summers)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-sidebar-navigation-custom-li-classes/)
 * Hi I am having an issue with the simple side nav widget. I have a 2 tier side
   nav, and I’m trying to style the Parent li (or a) tag of the current_page_item
   child li tag. (hopefully that made sense).
 * The current_page_item works fine, however, if you current page is a child page,
   then the parent pages class of (current_page_item) disappears and just reads 
   page_item, which makes it hard to style differently.
 * Does anyone know of a way to add a custom class to the parent li tag??
 * [http://wordpress.org/extend/plugins/simple-sidebar-navigation/](http://wordpress.org/extend/plugins/simple-sidebar-navigation/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Max Chirkov](https://wordpress.org/support/users/maxchirkov/)
 * (@maxchirkov)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-sidebar-navigation-custom-li-classes/#post-2154648)
 * I see what you’re saying. Basically you want a class to be assigned to a parent
   list item of the currently active sub-item.
 * I’ll have to look at it some time later and see what can be done.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Simple Sidebar Navigation] Custom li Classes’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-sidebar-navigation.svg)
 * [Simple Sidebar Navigation](https://wordpress.org/plugins/simple-sidebar-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-sidebar-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-sidebar-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-sidebar-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-sidebar-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-sidebar-navigation/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Max Chirkov](https://wordpress.org/support/users/maxchirkov/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-sidebar-navigation-custom-li-classes/#post-2154648)
 * Status: not resolved