fc1 Posted August 6, 2022 Share Posted August 6, 2022 Site URL: http://www.empathystories.org hello! i'm noticing that the banner images of my website are very zoomed in in mobile view. is there a way to zoom out so the images aren't so close up? thank you! Link to comment
fc1 Posted August 6, 2022 Author Share Posted August 6, 2022 i don't want to zoom out all the way, just enough to see both people's faces in the home image. Link to comment
tuanphan Posted August 7, 2022 Share Posted August 7, 2022 Try adding to Design > Custom CSS @media screen and (max-width:640px) { body.homepage .Parallax-item:first-child img { width: 100% !important; height: auto !important; left: 0 !important; top: 100px !important; } section#home-a { min-height: unset !important; height: 200px !important; } } 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
fc1 Posted August 7, 2022 Author Share Posted August 7, 2022 13 hours ago, tuanphan said: Try adding to Design > Custom CSS @media screen and (max-width:640px) { body.homepage .Parallax-item:first-child img { width: 100% !important; height: auto !important; left: 0 !important; top: 100px !important; } section#home-a { min-height: unset !important; height: 200px !important; } } thanks for offering this idea @tuanphan when i use this code it zooms out all the way in mobile view and looks like this: here's how squarespace is automatically zooming in: this is what i would like it to look like: can this be achieved? thank you! Link to comment
fc1 Posted August 8, 2022 Author Share Posted August 8, 2022 hi @tuanphan i'm still wondering whether we can zoom into the image like the picture i sent above, that is my preference. but in the meantime i was able to adjust your code to get a workable option until we can figure that out. when i do so there is a black bar along the top of the image. can we move the image up so the black bar is not there? /* zoom mobile banner */ @media screen and (max-width:640px) { body.homepage .Parallax-item:first-child img { width: 100% !important; height: auto !important; left: 0 !important; top: 100px !important; } section#home-a { min-height: unset !important; height: 260px !important; } } Link to comment
tuanphan Posted August 10, 2022 Share Posted August 10, 2022 On 8/9/2022 at 2:16 AM, fc1 said: hi @tuanphan i'm still wondering whether we can zoom into the image like the picture i sent above, that is my preference. but in the meantime i was able to adjust your code to get a workable option until we can figure that out. when i do so there is a black bar along the top of the image. can we move the image up so the black bar is not there? /* zoom mobile banner */ @media screen and (max-width:640px) { body.homepage .Parallax-item:first-child img { width: 100% !important; height: auto !important; left: 0 !important; top: 100px !important; } section#home-a { min-height: unset !important; height: 260px !important; } } Try adjust this number top: 100px !important; 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
fc1 Posted August 11, 2022 Author Share Posted August 11, 2022 thanks! i created a new image to get the zoom i wanted. tuanphan 1 Link to comment
iponkk Posted February 13, 2023 Share Posted February 13, 2023 Hi! I have the same issue, and I tried the code @tuanphan used but it did nothing for me. Attached is the desktop and mobile view. I want the mobile view more zoomed out so we can see the model's legs. Can someone please help? Thanks! Link to comment
tuanphan Posted February 15, 2023 Share Posted February 15, 2023 On 2/13/2023 at 8:03 AM, iponkk said: Hi! I have the same issue, and I tried the code @tuanphan used but it did nothing for me. Attached is the desktop and mobile view. I want the mobile view more zoomed out so we can see the model's legs. Can someone please help? Thanks! Hi, What is site url? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment