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?
- The topic ‘Trying to get WP to not set img height and width for mobile-theme’ is closed to new replies.