Jump to content

Responsive Full-Bleed Header Images

Recommended Posts

Site URL: https://www.ministryofshadows.co.uk

Hi,

I've produced a site:  https://www.ministryofshadows.co.uk that I want to have large, full bleed header images.

It's a photography site, so a lot of people will be looking on a computer or tablet, but for those that look on a mobile device, my question is this:

Is it possible to have full bleed images responsive?  So they essentially resize, down rather than just zoom into the middle of the image?

I have tried the following code, but to no avail:

@media screen and (max-width: 767px) {
div.section-background[data-width="full-bleed"] {
    height: 27vh !important;
}

Many Thanks & Appoligise if this has been asked before - I have tried searching.

Kevin

Link to comment
  • Replies 1
  • Views 997
  • Created
  • Last Reply

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.