• Resolved city17

    (@city17)


    hi all, im really new to wordpress and am trying to intergrate it into my site. I used a html website and basically just placed the code in the middle, i didnt bother with changing the header, footer or anything else. im mostly happy with the site now but i have a couple of problems. firstly i need some way to get some kind of border around my posts as there are looking messy and not particularly defined from one another. is there any way to do that easily? secondly every time anyone sends a reply to a post there details remain in the name and email boxes, even after they have left the site and then come back and even after clearing the cookies, is that normal? sorry if this all sounds confusing but your lucky you have gotten any sense out of me at all as ive found this whole process pretty confusing myself 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘how to get borders around my posts’ is closed to new replies.