WordPress.org

Support

Support » Themes and Templates » Iconic One » [Resolved] Shrink images in posts proportionally?

[Resolved] Shrink images in posts proportionally?

  • Virtual19

    @virtual19

    When I insert images in my posts (through URL) they shrink unproportionally which looks bad. How can I make them shrink proportionally?

    Thnx in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    can you provide a link to a page on you site that shows this?

    Virtual19

    @virtual19

    here is an example

    http://rarehistoricalphotos.com/b-32-bomber-factory-fort-worth-texas1944/

    the image is hosted somewhere else

    Moderator cubecolour

    @numeeja

    ɹoʇɐɹǝpoɯ

    Adding the following css rule should enable you to fix this:

    img {
       height: auto;
    }

    If you are using a child theme, add the height: auto; to the existing block of rules for the img element.

    If you are not using a child theme (& don’t want to go to the trouble to creating one), you can use jetpack or another plugin that allows you to add custom css to add this.

    Virtual19

    @virtual19

    Thnx you Mr. cubecolouar, problem solved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Shrink images in posts proportionally?’ is closed to new replies.
Skip to toolbar