demarphoto Posted February 8, 2021 Share Posted February 8, 2021 (edited) Site URL: https://www.demarphotography.org/ *SOLVED* I need to have the photo in the header area (first section) display full size in mobile landscape mode. I can achieve that with this code: /*spacing for top section*/ @media screen and (max-width:767px) { [data-section-id="5fc17093e18c5c478e3240e7"] { padding-top: 50px; } } BUT, then the photo is too big in mobile portrait mode. Is there a way to have this code work only in landscape mode? Or is there another work around for this issue? I don't have the code working right now as this is a live client site - I am not the original builder of the site and new to Squarespace so not sure how everything works. Thank you for any help you can give! Edited February 9, 2021 by demarphoto Fix code error Link to comment
tuanphan Posted February 13, 2021 Share Posted February 13, 2021 @media screen and (max-width:767px) and (orientation:landscape) {} Use this media code 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