Viewing 1 replies (of 1 total)
  • 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.