# Remove active class for pressed item in side menu

**URL:** <https://forum.ionicframework.com/t/remove-active-class-for-pressed-item-in-side-menu/731>\
**Category:** ionic-v1\
**Created:** [January 30, 2014, 10:50pm UTC](https://forum.ionicframework.com/t/remove-active-class-for-pressed-item-in-side-menu/731 "2014-01-30T22:50:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_eagle](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@andy\_eagle](https://forum.ionicframework.com/u/andy_eagle)\
**Post date:** [January 30, 2014, 10:50pm UTC](https://forum.ionicframework.com/t/remove-active-class-for-pressed-item-in-side-menu/731/1 "2014-01-30T22:50:13Z")

</div>

I have a side menu with a list, and some items in that list redirects you to another page. In every child page, the side menu is deactivated, only in the root page I let it show. When I return to my root page and open the menu again, the list item I just clicked to navigate is still “active” (is grayed out). Is there an easy way to remove the “active” state? I don’t want to use jquery to do this. Thanks!

---

<div class="post-metadata">

**Author:** ![gregorypratt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gregorypratt/32/64031_2.png) [@gregorypratt](https://forum.ionicframework.com/u/gregorypratt)\
**Post date:** [January 31, 2014, 8:29am UTC](https://forum.ionicframework.com/t/remove-active-class-for-pressed-item-in-side-menu/731/2 "2014-01-31T08:29:25Z")

</div>

I would probably try giving each of your menu items a class and override the styles that defines the look of an active state rather than trying to remove it via JavaScript…

---

<div class="post-metadata">

**Author:** ![andy\_eagle](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@andy\_eagle](https://forum.ionicframework.com/u/andy_eagle)\
**Post date:** [January 31, 2014, 3:43pm UTC](https://forum.ionicframework.com/t/remove-active-class-for-pressed-item-in-side-menu/731/3 "2014-01-31T15:43:23Z")

</div>

Thank you, i had not think of that, i’ll give it a try
