middleg Posted September 16, 2022 Share Posted September 16, 2022 (edited) Site URL: https://www.pflaghalton.ca I've tried editing @tuanphan code from previous threads but cannot for the life of me get my banner to scale properly on mobile. Any ideas? Edited September 16, 2022 by middleg Tagging issue Link to comment
tuanphan Posted September 16, 2022 Share Posted September 16, 2022 You mean Halton image? 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
middleg Posted September 16, 2022 Author Share Posted September 16, 2022 3 minutes ago, tuanphan said: You mean Halton image? Yes, that one. I have been playing with it and I think it might be closer to fixed. Let me know if you can help out. Link to comment
tuanphan Posted September 19, 2022 Share Posted September 19, 2022 On 9/16/2022 at 9:12 AM, middleg said: Yes, that one. I have been playing with it and I think it might be closer to fixed. Let me know if you can help out. I see you solved with this code? @media screen and (max-width: 640px) { .homepage .section-background img { width:100% !important; height: auto !important } } @media screen and (max-width: 640px) { .homepage #page section:first-child { min-height:20vh !important; height: 23vh; margin-top: 9vh } } You can also remove both & use this @media screen and (max-width: 767px) { .homepage #page section:first-child { min-height:unset !important; height: 30vh; } } 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
middleg Posted September 23, 2022 Author Share Posted September 23, 2022 On 9/19/2022 at 5:28 AM, tuanphan said: I see you solved with this code? @media screen and (max-width: 640px) { .homepage .section-background img { width:100% !important; height: auto !important } } @media screen and (max-width: 640px) { .homepage #page section:first-child { min-height:20vh !important; height: 23vh; margin-top: 9vh } } You can also remove both & use this @media screen and (max-width: 767px) { .homepage #page section:first-child { min-height:unset !important; height: 30vh; } } thanks so much. I'm just working on pushing the banner below the header, but this helps clean everything up. Appreciate your help. 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