Jump to content

Mobile Slider Crops Images rather than Resizes Responsively

Recommended Posts

Posted

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

Good evening - 

I have been going through this thread and trying the various successful code snippets, but I must be doing something wrong. Maybe an incorrect section ID. Can you please take a look and send me the correct code to fix the mobile display of the home slider images so it resizes rather than crops the images?

THANK YOU SO MUCH!!!

Megan

  • Replies 5
  • Views 384
  • Created
  • Last Reply
Posted

Update: I was able to get the slider to update 

@media screen and (max-width:767px) {

.homepage .gallery-fullscreen-slideshow[data-width="full"] {

    height: 40vh !important;

}

}

But now there is a weird padding at the top - can someone please show me how to remove the padding at the top and on the right and left side if possible. 

1885930779_ScreenShot2021-06-21at9_04_14PM.thumb.png.b5cb319a1a1122535adb7c39bcb119bc.png

Posted

Thank you - I must have done something wrong - because I still see the padding above the slider - I would like to reduce that so the slider lays closer to the top under the navigation/mobile home bar.

Posted
20 hours ago, Inspyre03 said:

Thank you - I must have done something wrong - because I still see the padding above the slider - I would like to reduce that so the slider lays closer to the top under the navigation/mobile home bar.

Can you keep the code? We can check easier.

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!)

Posted

Thank you - I realized I added the CSS code to the backup site

https://hawk-custom-backup.squarespace.com

password to view the site is: Hawk2021

Please take a look how the CSS works  I tried both  lines of code and the last one stacked my headline, so I have kept it to:  

@media screen and (max-width:767px) {

.homepage .gallery-fullscreen-slideshow[data-width="full"] {

    height: 40vh !important;

}

}

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.