WordPress.org

Ready to get started?Download WordPress

Forums

Image padding (4 posts)

  1. EternalCow
    Member
    Posted 9 years ago #

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

    ~Seth~

  2. Kafkaesqui

    Posted 9 years ago #

    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!

  3. EternalCow
    Member
    Posted 9 years ago #

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

  4. mutahir
    Member
    Posted 9 years ago #

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

    Mutahir

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags