Jump to content

Default on Mobile to Mobile Fallback Image [Using Video for Header on Desktop] v7.1

Recommended Posts

Site URL: https://www.campfiresolutions.io/

Hi All -

On my site I have a video that displays in my hero banner, but only want this video to display on Desktop. I have a Mobile Fallback Image that I want to default to on Mobile.

 

How can I make this happen? Is there CSS that I can inject?

 

Any help would be much appreciated!

 

Thanks so much!

Dan

Edited by druf
Type
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

16 hours ago, druf said:

Site URL: https://www.campfiresolutions.io/

Hi All -

On my site I have a video that displays in my hero banner, but only want this video to display on Desktop. I have a Mobile Fallback Image that I want to default to on Mobile.

 

How can I make this happen? Is there CSS that I can inject?

 

Any help would be much appreciated!

 

Thanks so much!

Dan

Add to Design > Custom CSS

@media screen and (max-width:767px) {
[data-section-id="60e89e874471185a9cdc9010"] .sqs-video-background-native__video-player.video-player {
    display: none;
}

[data-section-id="60e89e874471185a9cdc9010"] .section-background img {
    opacity: 1 !important;
}
}

 

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

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.