Need help? Check out our Support site, then


How to split sidebar and header from main in K2lite theme?

  1. Anyone knows how to split sidebar and header from main, so that my background color will show between them? :)

    The blog I need help with is bloggebente.wordpress.com.

  2. This is a tiny bit complicated but the best workaround is to use something like the code below. Try it out and see what you think. You can always alter the padding and margin amounts to make the background gaps larger or smaller.

    body #page {padding-top:0; background:transparent; border:none;}
    body #header {margin-bottom:30px;}
    .menu ul#nav {bottom:0;}
    body #primary {background:#fff; margin:0; padding:0 15px 20px 15px;}
    body .secondary {background:#fff; padding:0 20px 20px 20px;}
  3. Thank you so much! It worked on my testblog, so thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic