CoralDerfurt Posted September 26, 2021 Share Posted September 26, 2021 Hey, I'm having the same issue, please could someone help me with a code for this gallery section on my site. It looks perfect on desktop but zooms in on mobile, I just want it to not zoom in. Thanks, Coral Link to comment
tuanphan Posted September 28, 2021 Share Posted September 28, 2021 On 9/27/2021 at 2:46 AM, CoralDerfurt said: Hey, I'm having the same issue, please could someone help me with a code for this gallery section on my site. It looks perfect on desktop but zooms in on mobile, I just want it to not zoom in. Thanks, Coral Hi, Can you share site url? We can help easier 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
CoralDerfurt Posted September 28, 2021 Share Posted September 28, 2021 www.scrunchme.co.uk site password is hello Link to comment
tuanphan Posted October 2, 2021 Share Posted October 2, 2021 On 9/29/2021 at 2:34 AM, CoralDerfurt said: www.scrunchme.co.uk site password is hello Add to Design > Custom CSS /* Resize mobile banner */ @media screen and (max-width:767px) { [data-section-id="6151fe5467f3dc22b6e908f7"] { min-height: unset !important; height: 35vh; } } 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
GastonDuflos Posted December 17, 2023 Share Posted December 17, 2023 On 10/2/2021 at 6:10 PM, tuanphan said: Add to Design > Custom CSS /* Resize mobile banner */ @media screen and (max-width:767px) { [data-section-id="6151fe5467f3dc22b6e908f7"] { min-height: unset !important; height: 35vh; } } HI @tuanphan, thank you for this code. I've used it on my home page but still cant make the image to be widht 100% on mobile, Can you please help? URL: www.gastonduflos.com . It's thefirst banner image Link to comment
tuanphan Posted December 18, 2023 Share Posted December 18, 2023 1 hour ago, GastonDuflos said: HI @tuanphan, thank you for this code. I've used it on my home page but still cant make the image to be widht 100% on mobile, Can you please help? URL: www.gastonduflos.com . It's thefirst banner image I see you used different code, not my code Remove your code & use this code @media only screen and (max-width: 767px) { [data-section-id="657f778af1a704689bdfd139"] { min-height: unset !important; height: 30vh !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
GastonDuflos Posted December 18, 2023 Share Posted December 18, 2023 2 hours ago, tuanphan said: I see you used different code, not my code Remove your code & use this code @media only screen and (max-width: 767px) { [data-section-id="657f778af1a704689bdfd139"] { min-height: unset !important; height: 30vh !important; } } THANKS @tuanphan. It worked but only when using INSET. If I use FULL WIDHT option, the images is croped. Any idea why this happen? Link to comment
GastonDuflos Posted December 18, 2023 Share Posted December 18, 2023 12 minutes ago, GastonDuflos said: THANKS @tuanphan. It worked but only when using INSET. If I use FULL WIDHT option, the images is croped. Any idea why this happen? also @tuanphan I just found out that it looks ok on the mobile preview of squarespace but it doesnt look good on the actual mobile: URL: www.gastonduflos.com Link to comment
tuanphan Posted December 19, 2023 Share Posted December 19, 2023 On 12/18/2023 at 10:58 AM, GastonDuflos said: also @tuanphan I just found out that it looks ok on the mobile preview of squarespace but it doesnt look good on the actual mobile: URL: www.gastonduflos.com You can set margin top code. I think header overlap section abit @media only screen and (max-width: 767px) { [data-section-id="657f778af1a704689bdfd139"] { min-height: unset !important; height: 30vh !important; margin-top: 5vh !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
GastonDuflos Posted December 20, 2023 Share Posted December 20, 2023 20 hours ago, tuanphan said: You can set margin top code. I think header overlap section abit @media only screen and (max-width: 767px) { [data-section-id="657f778af1a704689bdfd139"] { min-height: unset !important; height: 30vh !important; margin-top: 5vh !important; } } Thank you @tuanphan. I updated the code but still with no luck. I think the problem is not with the header section but with the banner section itself. This is how it looks on my Iphone: URL: www.gastonduflos.com Link to comment
tuanphan Posted December 20, 2023 Share Posted December 20, 2023 22 minutes ago, GastonDuflos said: Thank you @tuanphan. I updated the code but still with no luck. I think the problem is not with the header section but with the banner section itself. This is how it looks on my Iphone: URL: www.gastonduflos.com The banner image looks fine. What is problem now? If you mean white space between header - image, you can reduce number in margin top 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
GastonDuflos Posted December 21, 2023 Share Posted December 21, 2023 21 hours ago, tuanphan said: The banner image looks fine. What is problem now? If you mean white space between header - image, you can reduce number in margin top Thanks @tuanphan. The image doesnt look fine, its cropped on mobile. Please see images attached below to see thats there is at least a 30% of the height image been cropped on mobile. The image on desktop is 100%. Link to comment
tuanphan Posted December 22, 2023 Share Posted December 22, 2023 On 12/21/2023 at 2:06 PM, GastonDuflos said: Thanks @tuanphan. The image doesnt look fine, its cropped on mobile. Please see images attached below to see thats there is at least a 30% of the height image been cropped on mobile. The image on desktop is 100%. Change to 40vh GastonDuflos 1 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