Technology Bites

  • Home
  • Tech
    • Software
    • Browsers
    • Google
    • Internet
    • Windows
  • Mobile
    • Android
    • Apple
    • Windows Phone
  • Products
    • Phones
    • Tablets
  • TIP US
You are here: Home / Tech News / How to customize K2 v0.9.6

How to customize K2 v0.9.6

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.

[sourcecode language=’css’].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;
}
[/sourcecode]
Update: K2 v0.9.6 is compatible with wordpress 2.2.1

Share this:

  • Tweet

Related

About Ram

I am a blogger and Technology Enthusiast. I write about software, tech news, gadgets. You can reach me at ram@teknobites.com, follow me on Google+ or on Twitter

« Build Website in minutes with Synthasite
Easily Create Online Presentations with Wink »

Comments

  1. Nirmal says

    Nice tips. I never tried customising K2, will lot of files and styles, i’m sure to miss somethings.. 🙂

  2. ram says

    @Nirmal
    K2 is a very matured theme. It looks hard for customizing but its not.

  3. Brown Baron says

    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.

  4. ram says

    @Brown
    Thanx for the comment and stumble 🙂

  5. Madhur Kapoor says

    Nice tips ram . i used K2 before , was a great theme .

  6. ram says

    @Madhur
    K2 is one of the best themes available for wordpress.
    Thanks for the comment

  7. LISTIKAL says

    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.

  8. BGR says

    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.

  9. BGR says

    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.

  10. ram says

    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

  11. Andrew says

    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…

  12. ram says

    @Andrew
    Not sure what is your problem, make sure you are using latest style.css and not old one.

  13. Kim-Miau Lee says

    Rami, thanks a lot! You helped me from having a corrupted dual sidebar.

Top Posts

  • Micromax A34 with 3.5-inch display is available for Rs. 4399
  • Internet Explorer 8 to have privacy controls
  • 40+ Free Windows Software alternatives
  • OnePlus 3T is launching on Dec 2 in India
  • Mibbit: IRC in Your Browser
  • 4 Handy Alternative Flickr Search Engines
  • MSN launches new home page
  • Flickr App Garden: Developer Showcase
  • How To : Remotely Track Your Stolen Laptop?
  • DSP Manager: The Best Equalizer app for Android

About Us · Archive · Disclaimer & Privacy Policy · TIP US · Copyright © 2025 · Technology Bites