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
  • Created
  • Last Reply

Try adding to Home > Design > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="5e8b63ddf180012b00255915"] {
    min-height: 30vh !important;
    margin-top: 100px;
}
}

 

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

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.