Thread Starter
city17
(@city17)
sorry i forgot to mention the url
http://www.city17productions.com/blog/
im after well definied blogs much like this
http://www.videocopilot.net/blog/
Not that hard, but needs some changes from you:
For starters, your posts (with class post) are all embedded in a div (class post). The latter should/could be changed to id (<div id="post"> or something else altogether.
Next you can apply some code to the class post
.post {
margin: 5px;
background-color: #999;
}
that will separate all posts in their own, visible block.
This is the easy way. The example site uses an background image to create the background, but it boils down to the same.
Peter
Thread Starter
city17
(@city17)
thx for the quick reply, ive found and changed the div but where would the class be ? ive looked about but cant seem to find anything ?
The .post class is automatically added by the_content().
If you change your style.css, around line 317, to this, you’ll get the desired effect.
.post {
background-color:#999999;
margin:24px 0;
padding:5px;
}
The #999999 is just an example, play around with margins and paddings too.
Peter
Thread Starter
city17
(@city17)
ok sorry about this but i did say i was a novice at this :), i thought it would be in style but i couldnt find it ? this is the style code. Do i need to add the code ?
Please edit the previous post and remove that large chunk of code again. It’s annoying to scroll down that far. If you want to post them, use pastebin instead.
Having said that: yes, you changed the correct piece of code.
Just checked your xhtml, and apparently you call a stylesheet from your webroot, called style.css (http://www.city17productions.com/style.css), which is so not WordPress like.
That’s the one that needs changing.
Peter
Thread Starter
city17
(@city17)
awesome that fixed it. thx for the support much appreciated and sorry about the code, i didnt know there was another way to do it.
(If possible could an admin please take out the web links in post two, that would be great as i dont seem to be able to any more and the website is a work in progress) thx