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

  • Unknown's avatar

    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: (visible only to logged in users)

  • Unknown's avatar

    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;}
  • Unknown's avatar

    Thank you so much! It worked on my testblog, so thanks!

  • The topic ‘How to split sidebar and header from main in K2lite theme?’ is closed to new replies.