WordPress.org

Ready to get started?Download WordPress

Forums

image size (4 posts)

  1. megafu
    Member
    Posted 6 years ago #

    hi there i am developping a wordpress theme but i cant manage to "resize" the images. Ok i will explain myself better.

    With wordpress "default" theme when you add to a post a image on its "original size" it NEVER gets wider than the width of the <div>.

    example: if i add an image with 800*600 i want it to load the "original size" (800*600) but to show it "resized" to the maximum witdh of the div.

    how can i do that?

    any help apreciated,
    thanks . :)

  2. muhkayoh
    Member
    Posted 6 years ago #

    Check out the css file for the default template. In the images subsection (which starts at about line 333 in my copy) you'll see images have max-width set to 100%.

    Hope that helps,

    Matt

  3. megafu
    Member
    Posted 6 years ago #

    YES!

    that was it . :)

    woohooo .. ;) i definatelly need to learn CSS . :(

    well ... u can sleep well . u just made someone happy . :P

  4. tbell
    Member
    Posted 6 years ago #

    This is exactly what I was looking for as well. It works fantastically in IE7 and Firefox, but not in IE6. Is there a fix for that?

Topic Closed

This topic has been closed to new replies.

About this Topic