• I am attempting to make the background of my posts white, but only of the posts, but for some reason the posts keep running off the white background, as you can see here
    Also, when I try to add a 1px border under the title the line goes through the text and not under it, I’m assuming it’s the same problem and it has something to do with the margins.
    Can anyone see what’s wrong?:)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looks like you need to add some padding to your content area. I added 25px to line 75 of style.css in firebug and it looked much better.

    Line 75 style.css

    #content {
    	margin: 0 300px 0 20px;
    	background: #fff;
    	border: 1px solid #e8e6e6;
    	padding: 25px;
    }
    Thread Starter theas91

    (@theas91)

    Thank you, that fixed it!
    Now I tried adding a line under the post title too but it’s still going through the text. It works if I change the line height for the post content but that messes up the spacing for the text in the post

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post content wrong compared to white background’ is closed to new replies.