Grunge theme color code error (7 posts)

  1. JanDanger
    Posted 7 years ago #

    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?

  2. wpbct7
    Posted 7 years ago #

    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.

  3. JanDanger
    Posted 7 years ago #

    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?

  4. chaoskaizer
    Posted 7 years ago #

    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)


    $(document).ready(function() {

    add before it

    var j = jQuery.noConflict();

    then replace all




    $('#menu a') change it to j('#menu a'), $("#red") to j("#red"), $(document) to j(document) et cetera et cetera.

  5. JanDanger
    Posted 7 years ago #

    I did all that, no change. Really annoying, just trying out a d-bag plugin and the thing messes up my theme.

  6. JanDanger
    Posted 7 years ago #

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

  7. chaoskaizer
    Posted 7 years ago #

    thank you Elena :(

Topic Closed

This topic has been closed to new replies.

About this Topic