• 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

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

    (@jandanger)

    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?

    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 and jquery.js (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

    (@jandanger)

    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

    (@jandanger)

    No, sry! it did work!!! Thank you very much Elena. Awesome!!!

    thank you Elena 🙁

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Grunge theme color code error’ is closed to new replies.