Paisleigh Posted December 26, 2020 Share Posted December 26, 2020 Site URL: https://www.mindfulbirthingnola.com Hi, I used the code below and it worked for resizing banner on homepage for mobile, but I want it to resize the banner on all pages for mobile - how do I change the banner image across all pages on my site to work on mobile view? Also, is there a way to cut out the negative space under the banner for mobile view? Thank you site: www.mindfulbirthingnola.com @media screen and (max-width:640px) { .homepage .section-background img { width: 100% !important; height: auto !important; } } Link to comment
ChristopherBerman Posted December 27, 2020 Share Posted December 27, 2020 8 hours ago, Paisleigh said: Site URL: https://www.mindfulbirthingnola.com Hi, I used the code below and it worked for resizing banner on homepage for mobile, but I want it to resize the banner on all pages for mobile - how do I change the banner image across all pages on my site to work on mobile view? Also, is there a way to cut out the negative space under the banner for mobile view? Thank you site: www.mindfulbirthingnola.com @media screen and (max-width:640px) { .homepage .section-background img { width: 100% !important; height: auto !important; } } Try adding this: @media screen and (max-width:640px) { #sections .page-section:nth-child(1) { width: 100% !important; height: auto !important;}} Link to comment
tuanphan Posted January 3, 2021 Share Posted January 3, 2021 Remove above code & add this to Page Header. If you use Personal Plan > You can edit page > Add a Code Block <style> /* resize banner mobile */ @media screen and (max-width:767px) { #page section:first-child { min-height: 20vh !important; margin-top: 5vh; } } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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