Support » Fixing WordPress » Border around posts

  • Resolved jennifer2010

    (@jennifer2010)


    Hi – I’m using the default “Twenty Ten” theme that comes with wordpress. I would like to add a border around posts (the border would show up around the posts on the homepage list of posts, etc.

    Any idea how to do this?

    Thank you!
    -Jennifer

    [No bumping, thank you.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You should create a Child theme to make your changes. If you do not, all of your changes will be lost if you update your theme.

    Try adding this to the end of your child theme’s style.css:

    .post { border: 2px solid #000000; }

    Thanks so much! That partly worked but I’ll figure out the rest.

    der-mali

    (@der-mali)

    Just wanted to add that “padding” makes sense together with such a border which will then look like this:

    .post { border: 2px solid #000000; padding:5px; }

    (Yes, there is a semi-colon before “padding”.)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Border around posts’ is closed to new replies.