[resolved] Border around posts (4 posts)

  1. jennifer2010
    Posted 4 years ago #

    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!

    [No bumping, thank you.]

  2. vtxyzzy
    Posted 4 years ago #

    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; }
  3. jennifer2010
    Posted 4 years ago #

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

  4. der-mali
    Posted 3 years ago #

    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".)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.