Guest Posted October 23, 2019 Posted October 23, 2019 Hello, I'm trying to implement a custom footer image using the 'Custom CSS' section. Ideally I'd like to set an image for desktop and a different version for mobile. We're currently using the Brine template and trying the following code to no success: #footer { background-image: url(“https://static1.squarespace.com/static/5908a95e1b10e3089ef71d4d/t/59133e9fb8a79bbbbc3be338/1494433439356/footer+image+imagenamehere.jpg”); }; The website is https://bird-cranberry-57se.squarespace.com (password: mah). Any help would be much appreciated! Cheers, Andrés
tuanphan Posted October 23, 2019 Posted October 23, 2019 @ndrssc Add to Home > Design > Custom CSS /* Image for Tablet - Desktop */ @media screen and (min-width:641px) { footer.Footer { background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/brine-demo-squarespace-com-1689x1080-500w.jpg); background-repeat: no-repeat; background-size: cover; background-position: top center; } } /* Image for mobile */ @media screen and (max-width:640px) { footer.Footer { background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/sofia.jpg); background-repeat: no-repeat; background-size: cover; background-position: top center; } } Reference: https://beaverhero.com/brine-template-squarespace/ 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.