demarphoto Posted February 8, 2021 Share Posted February 8, 2021 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! 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.