reneel2020 Posted June 13, 2020 Share Posted June 13, 2020 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
tuanphan Posted June 13, 2020 Share Posted June 13, 2020 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
reneel2020 Posted June 13, 2020 Author Share Posted June 13, 2020 (edited) Awesome! This worked, thank you! Any way I can get this text to be smaller in mobile so the text and image can be on the same line, as it is on desktop view? Edited June 13, 2020 by reneel2020 Link to comment
tuanphan Posted June 13, 2020 Share Posted June 13, 2020 @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
reneel2020 Posted June 13, 2020 Author Share Posted June 13, 2020 This worked, thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment