WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] Shrink images in posts proportionally? (5 posts)

  1. Virtual19
    Member
    Posted 5 months ago #

    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

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 5 months ago #

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

  3. Virtual19
    Member
    Posted 5 months ago #

    here is an example

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

    the image is hosted somewhere else

  4. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 5 months ago #

    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.

  5. Virtual19
    Member
    Posted 4 months ago #

    Thnx you Mr. cubecolouar, problem solved.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.