Arete Arete - 4 months ago 36
CSS Question

Horizontal divs not aligning properly

I am trying to make a wordpress theme with _s ( as a starting point. I am not really good at wordpress or CSS but I have googled and tried to work this out this whole day.

So far I have produced the very basic result:
I have a problem where the content-area is placed just a bit below the sidebar and the menu and I do not know why.

I have gone through the CSS and checked the header.php and the index.php files for hours without finding out why this happens.

enter image description here

The red rectangle indicates the blank space I want to remove.

Basically if someone can point me in the right direction I would be very happy.

I am not sure what code to include because I do not know where the problem lies in the code.


It is because your entry-title has a margin (top and bottom). So you can add :

.entry-title {
   margin-top: 0;