Few days back K2 v0.9.6 theme for wordpress was released, this release contains security fixes. It’s time to update to this version if you have not already done. The new K2 now has support for two sidebars, you can enable this feature in the K2 options panel. I am glad that they considered 2 sidebars because lost of users prefer 2 sidebars.
With the two sidebars option you are no longer dependent on other sites to update the 3 column K2 themes to latest K2 version. The dual sidebar option displays one sidebar on the left and one on the right, if you are currently using 2 sidebars aligned to right like this blog then you have to edit CSS to align them right.
Here is what i did to get the 2 sidebars on the right. It worked for me, hopefully work for you also. Find the CSS classes mentioned below and replace them with the classes in your style.css file.
.sidebar-dual #page {
width: 995px;
}
.content {
padding: 0 20px;
}
#primary {
position: relative;
float: left;
width: 540px;
padding: 10px;
}
.sidebar-dual #primary {
padding: 10px;
}
#sidebar-main {
float: left;
width: 200px;
margin: 0 20px 0 760px;
padding: 10px;
}
#sidebar-alt {
float: right;
width: 160px;
padding: 10px;
margin-left: -170px;
}
Update: K2 v0.9.6 is compatible with wordpress 2.2.1








Subscribe to our
Write to me at to send any questions, comments, suggestions or tips.
June 21st, 2007 11:26 pm
Nice tips. I never tried customising K2, will lot of files and styles, i’m sure to miss somethings..
June 22nd, 2007 3:19 am
@Nirmal
K2 is a very matured theme. It looks hard for customizing but its not.
June 22nd, 2007 10:47 pm
I’m sure that a lot of people will be happy to know that k2 now supports 2 sidebars. This tutorial is pretty good. Nice job buddy.
Stumbled.
June 23rd, 2007 1:05 pm
@Brown
Thanx for the comment and stumble
June 24th, 2007 3:18 am
Nice tips ram . i used K2 before , was a great theme .
June 24th, 2007 3:20 am
@Madhur
K2 is one of the best themes available for wordpress.
Thanks for the comment
June 25th, 2007 6:02 pm
K2 is my 2nd choice when it comes to themes. I’ll stick to my TypoXP for now ,but K2 has some very cool features. I especially like the Ajaxy feel of the comments.
June 26th, 2007 12:26 pm
So I would find the appropriate section in my CSS file and replace with above code and I could use K2 out of box (almost) instead of double tracking something like 3K2?
And, did you customize the header as well? Any clue? thanks.
June 26th, 2007 12:52 pm
New K2 version has 2 sidebars (left and right) you could right away use that with out looking for other styles like 3K2. The above code makes the 2 sidebars to align right instead of left and right.
Yaah i customized the header to include a place for banner. It can be done easily with CSS and by including an extra div in header. Let me know if you want more info
June 26th, 2007 12:57 pm
I started with trident, went to 3k2 to get both on right side, so yeah, anything that would make it simpler. as for the header, what I like is the reduced foot print from default k2 header thatis what a good 2 inches plus. The built in space for a standard-format banner ad is a bonus, and could also be used for one’s own branding or illuminated tagline. Maybe I will bump that when I get upgraded. thanks again.
July 3rd, 2007 10:50 am
I’m trying to get this to work for me but so far no luck…replaced the code but still side bars are one right and one left…
July 6th, 2007 10:58 pm
@Andrew
Not sure what is your problem, make sure you are using latest style.css and not old one.
July 21st, 2007 2:46 am
Rami, thanks a lot! You helped me from having a corrupted dual sidebar.