Jump to content

Custom Code using Media Queries that target Specific Images

Recommended Posts

Posted

Hi,

I'm working on a website and wanted to know if there was a way to embed an image through html code and then using media queries, once the screen is decreased to mobile size the the current image (x) changes to a different image (y). How would I go about doing that?

 

 

  • Replies 1
  • Views 245
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Yes. This is possible.

You want to use Image Block, Gallery Block...or which block to add image? Then we will give CSS to change to another image on mobile.

Or you want to use HTML code to add Image? We will give HTML + CSS code to handle this?

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

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.