Jump to content

Mobile Fallback Image to Display, Not Video

Recommended Posts

2 hours ago, asfe said:

You think i can do something in order to solve this matter?

You can try the following code

@media only screen and (min-width: 768px) {
  section[data-section-id="6332d1ccb7f71701f90f072e"] {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  section[data-section-id="62616f21a251901291ce8981"] {
    display: none;
  }
}

Hope it can help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 minutes ago, bangank36 said:

You can try the following code

@media only screen and (min-width: 768px) {
  section[data-section-id="6332d1ccb7f71701f90f072e"] {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  section[data-section-id="62616f21a251901291ce8981"] {
    display: none;
  }
}

Hope it can help

It works! Thank you very much!!

Link to comment
  • 6 months later...
5 hours ago, StephanieOYV said:

Hi, I have a similar problem and was wondering if it is possible to have display on Desktop a video and another video as fallback for the mobile version?

Here is the page I'm working on: https://stephaaden.squarespace.com/osee

Thanks for your help!

You can add 2 videos, then we can give code to achieve this

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.