Jump to content

Custom Footer Image (Brine)

Recommended Posts

Posted

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

  • Replies 3
  • Views 1.4k
  • Created
  • Last Reply
Posted

@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!)

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.