Jump to content

Uploading an alternative image for mobile

Recommended Posts

  • Replies 6
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...

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.