Jump to content

Uploading an alternative image for mobile

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

17 hours ago, LauraRT said:

Hello,

It’s this section attached. I’m looking to add a narrower graphic when viewed on mobile.

Thanks in advance 

263AE2D6-933B-4560-8C45-AA9F7E19D389.png

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-4c938d3a0bbe38d857be img {
    content: url(https://cdn.pixabay.com/photo/2022/05/13/15/46/flower-7194038__340.jpg);;
}
}

 

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

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.