Jump to content

Replacing background footer image on mobile

Recommended Posts

3 hours ago, sorgod said:

Site URL: https://www.terrafirmadesignnw.com/

Hi there, using custom code for a footer background image that includes the logo. On mobile the logo interferes with footer links so I'm trying to replace with an alternate image or. Thanks!

Hi @sorgod,

You can try adding to Home > Design > Custom Css

/*set img background footer on mobile*/
@media only screen and (max-width: 767px) {
	#footer-sections {
      background: url(https://images.unsplash.com/photo-1613043398445-0f8c74fcc9f2?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=435&q=80);
    }
}

Change the url to the image you want to replace

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.