Title: Change  tag class
Last modified: August 30, 2016

---

# Change tag class

 *  Resolved [linhos](https://wordpress.org/support/users/linhos/)
 * (@linhos)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/change-tag-class/)
 * 
 * [https://wordpress.org/plugins/custom-admin-bar/](https://wordpress.org/plugins/custom-admin-bar/)

Viewing 1 replies (of 1 total)

 *  [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/change-tag-class/#post-6525382)
 * Hey there linhos,
 * Sorry for the late response 🙁
 * You can add another class to the menu item that has ab-item class with jQuery.
   To do that please try adding the following to your theme functions.php:
 *     ```
       add_action('admin_head','add_adminmenu_class');
       function add_adminmenu_class(){
       ?>
       <script>
       jQuery(function () {
       	jQuery('#wp-admin-bar-root-default a.ab-item').addClass('className');
       });
       </script>
       <?php
       }
       ```
   
 * Replace className with the actual class you want to add.
 * Hope this helps 🙂
 * Cheers,
    Bojan

Viewing 1 replies (of 1 total)

The topic ‘Change tag class’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-admin-bar_d6d4d4.svg)
 * [Custom Admin Bar](https://wordpress.org/plugins/custom-admin-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-admin-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-admin-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-admin-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-admin-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-admin-bar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/change-tag-class/#post-6525382)
 * Status: resolved