Jump to content

Image blocks wont resize on phone

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

On 7/1/2021 at 9:08 PM, RuneH said:

Site URL: https://thewargameclub.com

I have a sizing issue on mobile that I would like to try and fix.

The image block on desktop look great but when it's resized for mobile, it's far too large.

 

I've tried copying all sorts of CSS, but can't get it to work. 

How do I fix it?

Try adding to Design > Custom CSS

/* resize mobile top banner */
@media screen and (max-width:767px) {
[data-section-id="60dfae2db3b1b738926248d5"] {
    min-height: unset !important;
    height: 35vh;
    margin-top: 10vh;
}
}

 

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.