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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
div#page-5ee4bfc1c0fbed78bd58409f .span-12 .span-2 {
    width: 50% !important;
    margin: 0 auto;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
@media screen and (max-width:640px) {
div#page-5ee4bfc1c0fbed78bd58409f .span-12>.row>.col {
    width: 50% !important;
    float: left !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.