Jump to content

Mobile Background Image Zoomed In

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

You can add this to Website Tools (under Not Linked) > Custom CSS

/* Mobile image */
@media screen and (max-width:767px) {
[data-section-id="6539246ff5e0787724ee06e5"] {
    min-height: unset !important;
    height: 25vh;
    margin-top: 5vh;
}
}

 

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
On 10/27/2023 at 10:37 PM, MitchCastetter said:

@tuanphan That worked perfectly. Thank you so much for the assistance. 

 

Now I am seeing a substantial amount of whitespace under the image when viewing on mobile. Is there any way to get rid of this? See image attached. 

unnamed.jpg

How do you want to handle it?

Change white to black

Or

Change white to black + move image to middle of screen to make top/bottom space is equal

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

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.