Jump to content

Full bleed images/videos to fit height

Recommended Posts

Hi, this is more of a general question as it comes up for me time and time again. Is there any way to make Squarespace fit the height or width of an image to the section when used full bleed? I've tried both the following CSS:

@media screen and (min-width:767px)
{.homepage #page section:first-child { min-height: unset; height: 500px;}}

    min-height: unset !important;
    height: 500px !important;}

and it does change the height of the section correctly, but the image just gets made bigger so still crops it off. 

If anyone can help I'll be eternally grateful! 

Link to comment
  • Replies 2
  • Views 180
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi - I think I've found a workaround for now by adding it as a section below and putting it in there. But as I said in the original post, it's an issue that happens all the time on all different sites. 

Thank you though. I just wish squarespace could add a 'fit to width' (or height) control


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.