jfrole Posted January 13, 2021 Share Posted January 13, 2021 Site URL: https://www.oldsonmedical.com/ Hi I am struggling with the auto responsiveness of the home page banner on my site for mobile. The text runs over my clients face and she doesn't like it. My client wants to keep the photo there (not replace with a non headshot photo for mobile) but is there any way to bump the banner text above or below the photo with code? I've tried this code below but it just ends up cutting off the entire banner and text with it (second pic). It would be great if the header text + button bumped down into its own blue section below the banner image... @media screen and (max-width:767px) { .homepage #page section:first-child { min-height: 20vh !important; height: 30vh; } } Link to comment
tuanphan Posted January 16, 2021 Share Posted January 16, 2021 Add to Design > Custom CSS /* Mobile banner */ @media screen and (max-width:767px) { div#page-section-5fc53671f81c9a2a0c4c611a .span-12 { position: relative; bottom: -100px; } body.homepage #page section:first-child { height: 90vh; } } 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
giangpham Posted December 31, 2021 Share Posted December 31, 2021 This code worked for my home screen but I also have banners on my other pages. How do I make it work for my other pages (Shop, and Custom Arrangement pages) ? Link to comment
tuanphan Posted January 2, 2022 Share Posted January 2, 2022 On 12/31/2021 at 2:42 PM, giangpham said: This code worked for my home screen but I also have banners on my other pages. How do I make it work for my other pages (Shop, and Custom Arrangement pages) ? I don't see these pages on main menu. Can you share links? Shop, and Custom Arrangement pages) 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