Jump to content

brianblum

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by brianblum

  1. Hi, I just tried using this code to make my site only show the mobile fallback image (which is an animated .gif) in the header but on mobile the image shows then transitions into the video background (which we only want to play on desktop). /* Mobile view */ @media screen and (max-width:767px) { /* top video */ [data-section-id="61eeca1c45abed068a17018b"] .content-fill>*:not(img) { display: none; } [data-section-id="61eeca1c45abed068a17018b"] .is-ready { display: none; } [data-section-id="61eeca1c45abed068a17018b"] img { left: -120% !important; } } Can someone help us make this work properly? Attached is a screen-recording of both the animated image (.gif) and the video playing. We just want the .gif (mobile fall-back image) to play on mobile. RPReplay_Final1702762761.MP4
×
×
  • 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.