• Hi,

    In my blog post, I like to resize the first image (its not featured).

    I tried .entry img {} but this affects all images in the post. If first image is 800px and I set 700px, all the images changes to 700px, even the thumbnails.

    I googled and found this css codes..

    .entry p:nth-child(2) > img { }

    .entry img:first-child { }

    but its not working, seems like working for others and somewhere mentioned its css3 so might not work in some themes.

    Is there other ways to change the first image?

    Please help and Thank you 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Resize only the first image inside a Post.’ is closed to new replies.