Board Thread:Support Requests - Getting Technical/@comment-26843745-20160216053257

Greetings, everyone. I have been making adjustments to the global navigation (for personal use, indeed), and one of the things I am wanting to do is to make the background color of it match the theme and colors of all wikis I visit. In order to apply such, adding the CSS class "color1" - which I found using "View page source" and has the background color of buttons that is chosen via Theme Designer specified - for global navigation by using the addClass method of jQuery is the only way I could think of. I tried doing that but, for some reason, it does not work. I fiddled with the code many times, cleared cache, waited, but the code does not show any effect. The code in use is this: $('.global-navigation').addClass('color1'); The "color1" class can be found via "View page source" anywhere on wiki and clicking on the first link that starts with "slot1". So, does anyone have any idea what is wrong with the code? Is there any way to get it to work? 