Jump to content

How to resize image for mobile only on SS7.0 Haute

Recommended Posts

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

Hi! I would like for my banner image to display in full width in mobile view without expanding the image itself.

I've tried using this code,

/* mobile screens */
@media only screen and (max-width: 640px) {
#block-yui_3_17_2_1_1613893986644_10835{
  width: 250%;
  }
}

and got this,

1627867730_ScreenShot2021-02-28at1_21_00PM.png.0f93824a4335a1aace219d5c9fa5e9da.png

 

However, when you zoom out in mobile view, you get this:

IMG_9442.thumb.PNG.c2aa9d1da2edee479c3e047e0856fb56.PNG

 

Thank you all for your help!

 

 

Link to comment
  • 2 weeks later...
  • Replies 6
  • Views 818
  • Created
  • Last Reply
On 2/28/2021 at 12:31 PM, HarveyAquino said:

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

Hi! I would like for my banner image to display in full width in mobile view without expanding the image itself.

I've tried using this code,


/* mobile screens */
@media only screen and (max-width: 640px) {
#block-yui_3_17_2_1_1613893986644_10835{
  width: 250%;
  }
}

and got this,

1627867730_ScreenShot2021-02-28at1_21_00PM.png.0f93824a4335a1aace219d5c9fa5e9da.png

 

However, when you zoom out in mobile view, you get this:

IMG_9442.thumb.PNG.c2aa9d1da2edee479c3e047e0856fb56.PNG

 

Thank you all for your help!

 

 

It looks like you solved this by using Image Block?

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
  • 2 weeks 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.