Jump to content

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

Go to solution Solved by tuanphan,

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!

 

 

Edited by HarveyAquino
Link to comment
  • 2 weeks later...
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

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

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