CSS Code to resize image in Jumbotron

  • Harry
    Harry
    Senior Member 135 points
    July 27, 2016 at 4:21 pm

    The image on the Home Page of our directory looks great, but does not resize and looks terrible on mobile and tablets.

    Does anyone know the CSS code to resize images in Jumbotron using the Premium Press Home Pagebuilder?

    Attachments:
    You must be logged in to view attached files.
  • Harry
    Harry
    Senior Member 135 points
    July 27, 2016 at 6:03 pm

    Problem appears solved with the following CSS

    img {
    max-width: 100%;
    height: auto;
    }


  • Josh
    Super Guru 13,875 points
    July 28, 2016 at 11:41 am

    Thanks for sharing Harry 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes