Change colors in the K2 theme

I wanted to play around with the colors of my WordPress K2 theme (the presentation layout that you currently see). Stuff that should be easy – the header colors, the background of the overall page (currently grayish), the white body background, the color of the text, the links etc.

The only way to do this, however (at least as far as I can figure out), is by getting into the CSS file and manually tweaking each element. And the basic file is very long and has tons of elements.  But I tried for a while. I made the header blue, the background black, the body background dark gray and the text white. But wait… I noticed that the header colors for each post was a bit too dark. The blockquote background was wrong. The link colors needed changing. Okay. I went in and fixed each of those by searching through the CSS file. Then I noticed more elements where the colors were off. At that point I gave up and reverted back to my old CSS file (which I had fortunately saved).

This should be a lot easier. There needs to be a WYSIWYG editor to tweak your theme. Each element (let’s say there are 25 or 30) should be listed with the option of changing the color by entering whatever hex code you want. At the bottom of that page, there needs to be a sample post where each change is reflected.

Sounds pretty straightforward to me. A plugin could do this easily I would think. Why doesn’t this exist? Of if it does, where do I find it? If I could code, I would build this myself!

  • After spending more than a year on k2 – I finally moved to find some themes that allowed heavy-duty tweaking, and for some reason got more support from the wordpress community. Trouble is though that shifting themes requires a lot of attention and time.. but if you have the heart to do it – there are far more flexible themes available..

  • Shripriya

    Hi Neha – what did you end up going with? and to shift themes – does it break everything? i.e. how painful is it? 🙂

  • I picked up a lovely template from here. It wasn’t too painful actually – compared to the amount of pain it took to maintain k2 – given that a lot of plugins don’t play well with k2. And once I shifted, it’s been very low maintenance. Mostly because it’s a light weight theme that can be tweaked very easily even by a css-ignorant person like me! 🙂 It didn’t break anything major… Maybe you should just take a backup of your existing k2 files, try a new template and play around with it for a few hours, and move back to the backedup k2 files if it all feels like too much! 🙂

  • Damn, K2 simply SUCKS ASS! I ain´t sorry for swearing, I tell the truth. You just can´t change the link color. Perhaps they used not a 6-digit color code, some time 3 digits work. And that sucks even more. You can´t search the CSS-files for the color-code, because you don´t know which one was used for this shitty blue 🙁 fuck it, never gonna use this shit again.

  • You are absolutely right. I still do't understand why blog people have to deal with so much code, instead of using their time for writing interesting posts. Is anyone listening?

  • You are absolutely right. I still do't understand why blog people have to deal with so much code, instead of using their time for writing interesting posts. Is anyone listening?

  • Michael

    Search for this set of lines in the default stylesheet:

    a {
    color: [insert your color here];
    text-decoration: none;
    }