Jump to content

How to get only background image to show on mobile site and video only on desktop background?

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

2 hours ago, rp7 said:

Site URL: https://www.aleeyadesignstudio.com

Hi, I have a video for my landing page background that doesnt play well on the mobile. I've tried codes that people have suggested on other posts but they just show up as the code in the header.. I have set a fallback image which I want for it to show on mobile viewing only. Please help! 

You can try adding to Home > Design > Custom Css

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

  section[data-section-id="6202215effc997353c892dc5"] .sqs-video-background-native__fallback-image--hidden {
    opacity: 1;

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.