WordPress.org

Ready to get started?Download WordPress

Forums

Trying to get WP to not set img height and width for mobile-theme (1 post)

  1. wynnara
    Member
    Posted 2 years ago #

    I'm working on a mobile-optimized theme for WordPress. I have all the CSS I need to get the images to scale the way I want them to, but my problem is that WordPress sets the image height and width in the HTML every time you insert an image or gallery into the content. This overrides any of the percentage-based CSS rules that I'm trying to set.

    Any suggestions as to how to get WP to stop laying the height and width in?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.