[Resolved] Responsive images for imported content

Home Forums Support [Resolved] Responsive images for imported content

Home Forums Support Responsive images for imported content

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2040381
    Konstantin

    Hello. I’ve been using GeneratePress for almost a year now and I’ve been pretty happy with it! My issues is with responsive images, for content that was imported from an old Drupal site. Since each image has its height/width specified in the HTML, the images are not responsive. If I delete the height/width, they are fine, but it’s not really feasible to go through hundreds of posts and editing out the sizes. Is there a code snippet or a plugin that would address this? We’re already using Smush for image optimization, lazyload, etc., but the plugin isn’t handling the image resizing.

    Thanks!

    #2040452
    Konstantin

    Actually there was a really easy fix

    img { 
    height: auto !important; 
    }
    #2040503
    Ying
    Staff
    Customer Support

    Glad you figured out a solution 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.