Jump to content

How do i remove an entire section for Desktop?

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 12/29/2021 at 10:18 PM, Braydenn said:

I have an image optimized for mobile viewing, however I would like it removed for desktop view. I've attached the image of the section I'd like removed. Could anyone please help me? Thank you.

Capture.PNG

I think we can implement the Css code with the media query for desktop:

@media only screen and (min-width: 1025px) {
  /*your sectionId {
	display:none;
}*/
}

Hope that it make sense

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

Hi! Thanks for replying to me. However, after adding the code and the section ID into the code, it didn't work. The image is still visible on Desktop view. 

Here's the exact code I've used:

@media only screen and (min-width: 1025px) {
/61cdc280503cad145085f1c1 {
    display:none;
}*/
}

Please help me to check if I've made a mistake. Thank you so so much, have a happy New Year!!

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.