jodaro Posted July 26, 2019 Share Posted July 26, 2019 Hello everyone, I chose the forte template as it allows me to have one site-wide background but on mobile view the focal point that is chosen by Squarespace looks really crappy. Is there a CSS code that allows me to chose a different focal point OR a different background image for mobile? I know it can be done with banners and cover pages on other templates, but I'd rather keep the site with forte. Thanks! Link to comment
tuanphan Posted July 26, 2019 Share Posted July 26, 2019 @jodaro Can you share site url? 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
jodaro Posted July 26, 2019 Author Share Posted July 26, 2019 tinmanfalls.com / password: TMF2019 Link to comment
jodaro Posted July 26, 2019 Author Share Posted July 26, 2019 you may have to enter the password twice... :( Link to comment
tuanphan Posted July 26, 2019 Share Posted July 26, 2019 @jodaro Add to Home > Design > Custom CSS. REmember replacing image url. /* Background Image on only mobile */ @media screen and (max-width:640px) { body:not(.collection-type-index):not(.collection-type-gallery) { background-repeat: no-repeat; background-image: url(https://static1.squarespace.com/static/57f9478…/t/5d35ee7…/1563815567545/TMF-1132-2.jpg) !important; background-position: center center; background-size: cover; background-attachment: scroll; }} 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
jodaro Posted July 26, 2019 Author Share Posted July 26, 2019 Thanks for the tip Tuanphan!!! This worked, we ran into complications hosting the photo that we wanted to display. In the meantime, another friend offered a simpler solution: restricting the pixel height of the wide-angle photo in mobile. with this limitation, Squarespace effectively cropped the image. Link to comment
jettstrauss Posted September 4, 2020 Share Posted September 4, 2020 can i ask how one could apply this mobile background image to only a home page? Link to comment
tuanphan Posted September 4, 2020 Share Posted September 4, 2020 8 minutes ago, jettstrauss said: can i ask how one could apply this mobile background image to only a home page? Add to Page Settings > Advanced > Header <style> /* Background Image on only mobile */ @media screen and (max-width:640px) { body:not(.collection-type-index):not(.collection-type-gallery) { background-repeat: no-repeat; background-image: url(https://static1.squarespace.com/static/57f9478…/t/5d35ee7…/1563815567545/TMF-1132-2.jpg) !important; background-position: center center; background-size: cover; background-attachment: scroll; }} </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
Archived
This topic is now archived and is closed to further replies.