Title: Responsive Image height
Last modified: August 20, 2016

---

# Responsive Image height

 *  [madebymarco](https://wordpress.org/support/users/madebymarco/)
 * (@madebymarco)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/responsive-image-height/)
 * Hello!
 * I’m having trouble adjusting the auto-height of my responsive image when the 
   browser’s width is adjusted to a portrait view of a smartphone.
 * Here’s how it looks like:
    [http://www.coolheadlines.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-11-at-8.37.26-PM.png](http://www.coolheadlines.com/wp-content/uploads/2013/02/Screen-Shot-2013-02-11-at-8.37.26-PM.png)
 * I want the height of course to be proportion to the width.
 * Please help me figure out the correct css code here.
 * The url of the site is:
    [http://www.coolheadlines.com/](http://www.coolheadlines.com/)
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/responsive-image-height/#post-3460934)
 * When you creat/edit the post/page, do not put the inline style in the `<img /
   >`, you should just let whatever classes WP outputs by default.
 * In short, don’t hardcode the `<img />` tag, just paste the image via WP’s post
   editor normally, and the problem will go away, your image will scale proportionally.
 * BTW, your theme is a commercial one, it has its own dedicated support forum.

Viewing 1 replies (of 1 total)

The topic ‘Responsive Image height’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/responsive-image-height/#post-3460934)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
