Jump to content

Help with image resizing for mobile

Recommended Posts

Site URL: https://www.daofinancialsolutions.com/video-quote-tool

Hello, I need help with CSS to reduce an image size to be mobile friendly. Right now, the headshot image is huge and takes up the whole page. All the coding I tried is not reducing the size for some reason. I think I have the div id wrong. Home someone can help, please?

Code I've tried: 

@media screen and (max-width:640px) {

/* Jermane headshot */

id#yui_3_17_2_1_1592055168751_102 {

    float: left !important;

    width: 25% !important;

}

id#yui_3_17_2_1_1592055168751_102{

    width: 100% !important;

    height: auto !important;

}

id#yui_3_17_2_1_1592055168751_102 {

    padding-top: 0 !important;

    padding-bottom: 0 !important;

}

}

Link to comment
  • Replies 4
  • Views 245
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.