Jump to content

customized code css for video on desktop and image on mobile

Recommended Posts

Hi,

I need help! You know how to make visible a video on desktop and an image on mobile at the same time?

Few months ago they gave me this code but it doesn't work anymore:

@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;
  }
}

Can you help me with another code please??

Thank you

Link to comment
  • Replies 1
  • Views 355
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.