Jump to content

Stop Mobile fallback image appearing before video

Recommended Posts

  • Replies 1
  • Views 379
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

On 12/2/2021 at 3:56 PM, MMC_IRL said:

Site URL: https://damientansey.squarespace.com/

I have a video playing in the banner, and a gif set as a fallback image for mobile. I want to stop/block the fallback image/gif from loading on desktop? Any ideas? Thanks in advance. 

Add to Design > Custom CSS

/* hide fallback image on desktop */
@media screen and (min-width:901px) {
body.homepage .banner-thumbnail-wrapper.has-description figure img {
    visibility: hidden !important;
    opacity: 0 !important;
}
}

 

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

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.