Support » Fixing WordPress » Image padding

  • Hello,

    Just upgraded to WordPress 2.0, and I am duly impressed. I’m having one very minor problem though. When I post an image thumbnail and have it left aligned, the text butts RIGHT up against the image. I’m sure a simple CSS tag would fix this, but I’m utterly ignorant of CSS, of what tag to use or where to put it.

    Thanks for any suggestions. 🙂


Viewing 3 replies - 1 through 3 (of 3 total)
  • Try this addition to your theme’s style.css:

    .post img {
    margin-right: 20px;
    margin-bottom: 20px;

    Tweak the numbers to taste.

    By the way, thanks for providing a link to your blog in your profile. Everyone asking for custom css and other such help should do this!

    Thanks so much. That seemed to do the trick perfectly.

    Hello Kafkaesqui,

    I had two problems, one of them is sorted out because of your suggestion to EternalCow, thanks for that 🙂

    2nd problem :

    When i post just text without any images, they are proper, i mean on the main page of my blog they appear properly but as soon as i started to post images with text as well in a post they are acting as if they were posted together, like when the latest post ends the one below it starts from where the meta tags are for the above post.

    I hope i am explaining it right.
    thanks and regards…


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