New K2 style

I was playing with styles in the K2 theme I am using. I came across blackboard which I think looks quite nice. Everything worked fine except the sidebar (to the right) that kept appearing at the bottom of the page (but still over to the right) below the last post. I was able to fix it by changing the blackboard css so that the margin property in the following 

.secondary {
  font-size: 1em;
  line-height: 1.5em;
  padding: 10px 0;
  margin: 0 0 20px 71%;
  width: 26%;
  color: #666;
  position: relative;
  }

looked like this

margin: 0 0 20px 0%;

Now this is the first time that I have played with CSS so apart from the fact that this is changing the margin-left value I don’t really understand what I did.

3 Responses to “New K2 style”


  1. 1 jason arneil

    er, screwed up your blog seems to be what you have done.

    So for the blog front door, it looks ok, but when you click a particular article the right hand menu is toast.

    well done. keep up the good work.

  2. 2 jad

    Well - screwed up seems a bit strong! Just the sidebar on single post pages. I will look in to it. But what do you think of the style? Is it better than the old one?

  3. 3 jad

    There we go. Upgrading to the latest nightly of K2 fixed it.

Leave a Reply