AfterWorkHours Posted May 31, 2022 Share Posted May 31, 2022 Site URL: https://www.aatelier.studio/ Site PW: 12345 I need assistance understanding the css code to resize an image on my website when being seen on Mobile. This is #block-fd59ead411ebd489234b and would like for it to resize when its on a mobile browser Link to comment
tuanphan Posted June 1, 2022 Share Posted June 1, 2022 Add to Design > Custom CSS /* resize mobile image */ @media screen and (max-width:767px) { div#block-9584e4f76b891194d6b1 { width: 50%; margin: 0 auto; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
LonniWong Posted July 7, 2022 Share Posted July 7, 2022 On 6/1/2022 at 9:59 AM, tuanphan said: Add to Design > Custom CSS /* resize mobile image */ @media screen and (max-width:767px) { div#block-9584e4f76b891194d6b1 { width: 50%; margin: 0 auto; } } thanks @tuanphan, even though indirectly. after some trials, i managed to figure out, and could also resize my image for mobile version, successfully. tuanphan 1 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