• I ant to fix image size of all wordpress post , i am using external image link and i havent added width and height of those images we are using

    <img src="EXTERNAL IMG URL"/> Like this

    Now want to add fix height and width to all images used in post, can anyone help me in this

Viewing 8 replies - 1 through 8 (of 8 total)
  • Yes, if you can provide a link to your website, I’ll inspect the code and provide you with some CSS code that will bring your post images under control.

    Thanks.

    Thread Starter Tarun

    (@scrapur)

    website link is https://gifprofile.com/

    we are adding external image url in img src but all imaze size is different we want to fix this to 600 width and 500 height.

    thanks in advance

    Thread Starter Tarun

    (@scrapur)

    Waiting for you to reply

    The first of your images has the wp-post-image class applied to it which is causing it to be displayed at its original size due to this in your CSS:

    .wp-post-image {
        width: 500px !important;
        height: 400px !important;
    }

    All other images appear to be the same size.

    Thread Starter Tarun

    (@scrapur)

    its not working For us we have changed theme Kindly suggest for this ,

    we also want to fix size of image appering below comment to 200x200px

    Something like this should do the trick:

    .clickable {
        float: left;
        width: 31.33%;
        margin-left: 2%;
    }
    Thread Starter Tarun

    (@scrapur)

    not working , i added , even pics below comment are also not working

    Can you leave the code implemented so I can inspect further to see if it is being overridden by something else, it should look like this.

    .clickable {
        float: left;
        width: 31.33%;
        margin-left: 2%;
        list-style-type: none;
    }
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to Fix image size in wordpress Post’ is closed to new replies.