Title: Grunge theme color code error
Last modified: August 19, 2016

---

# Grunge theme color code error

 *  [jandanger](https://wordpress.org/support/users/jandanger/)
 * (@jandanger)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/)
 * I have the Grunge theme and it has this function that when u press a color on
   the top of the site it changes the colors of the headlines on the page, anyway,
   I installed the draw comments plugin and tried to change some colors in my comments
   section and the color code function on headlines stopped working. Anyone have
   a clue why this is?
    [http://www.dangerdanger.org](http://www.dangerdanger.org)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [wpbct7](https://wordpress.org/support/users/wpbct7/)
 * (@wpbct7)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903032)
 * It seems that they will not work together because of javascript includes: this
   plugins includes jquery an prototype – mixing these libraries on one page requires
   special style of coding. You can contact theme developer and ask him to fix this
   feature.
 *  Thread Starter [jandanger](https://wordpress.org/support/users/jandanger/)
 * (@jandanger)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903039)
 * But I removed the draw comments plugin, did something change in values or? Maybe
   i could upload the old comments.php and replace the “new” one that has been changed,
   would this work?
 *  [chaoskaizer](https://wordpress.org/support/users/chaoskaizer/)
 * (@chaoskaizer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903050)
 * I’m guessing if you disabled the “draw comments plugin” your theme’s color switcher
   will magically work. ;p
 * Well looking at your website there is bunch of JavaScript library loaded (prototype,
   scriptaculous,jquery), and some are redundant like [jquery-1.2.6.pack.js](http://www.dangerdanger.org/wp-content/themes/grunge-wall/js/jquery-1.2.6.pack.js)
   and [jquery.js](http://www.dangerdanger.org/wp-includes/js/jquery/jquery.js?ver=1.2.6)(
   it’s the same thing). All these Javascript has some commons function and it conflicting.
   I think its better if you ask the theme designer to rewrite the code or you can
   try ↓
 * open function.js (/grunge-wall/js/functions.js)
 * find
 *     ```
       $(document).ready(function() {
       ```
   
 * add before it
 *     ```
       var j = jQuery.noConflict();
       ```
   
 * then replace all
 *     ```
       $()
       ```
   
 * with
 *     ```
       j()
       ```
   
 * Example
    `$('#menu a')` change it to `j('#menu a')`, `$("#red")` to `j("#red")`,`
   $(document)` to `j(document)` et cetera et cetera.
 *  Thread Starter [jandanger](https://wordpress.org/support/users/jandanger/)
 * (@jandanger)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903064)
 * I did all that, no change. Really annoying, just trying out a d-bag plugin and
   the thing messes up my theme.
 *  Thread Starter [jandanger](https://wordpress.org/support/users/jandanger/)
 * (@jandanger)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903065)
 * No, sry! it did work!!! Thank you very much Elena. Awesome!!!
 *  [chaoskaizer](https://wordpress.org/support/users/chaoskaizer/)
 * (@chaoskaizer)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903071)
 * thank you Elena 🙁

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Grunge theme color code error’ is closed to new replies.

## Tags

 * [color code?](https://wordpress.org/support/topic-tag/color-code/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * 6 replies
 * 3 participants
 * Last reply from: [chaoskaizer](https://wordpress.org/support/users/chaoskaizer/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/grunge-theme-color-code-error/#post-903071)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
