Jump to content

Responsive image for mobile screens

Recommended Posts

On 4/23/2021 at 2:48 PM, beeskay said:

Site URL: https://www.binoodhasasi.com/work/chinatownxr

Hi,

I was working on my website and the mobile screens do not resize the first background image to mobile screen. Is there a custom css code  I can use to solve this? Attaching an image to show the issue. 

You can also use this CSS (Add to Design > Custom CSS)

/* Chinatown XR - resize mobile image */
@media screen and (max-width:767px) {
[data-section-id="60654e74029be7381101a5ae"] {
    min-height: unset !important;
    height: 40vh;
    margin-top: 10vh;
}
}

Use this tool to find data section id, if you have similar problem in the future.

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

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.