Jump to content

How can I hide an entire section from mobile and tablet view?

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://bluebird-porcupine-yzdg.squarespace.com/

I am currently using some code to hide an entire section from mobile view.

Site: https://bluebird-porcupine-yzdg.squarespace.com/

Pword: bluebird

The code I am using is:

@media screen and (max-width:767px) {
[data-section-id="5ef4c07482b8e941cd5ebc10"] {
    display: none;

How can I adjust this code so that the section is also hidden from tablet view?

Currently when I look at the page using my Surface Pro in tablet view, it still appears.

Please help!

Many thanks,



Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
/* this code for tablet - mobile */
@media screen and (max-width:991px) {
[data-section-id="5ef4c07482b8e941cd5ebc10"] {
    display: none;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 11 months later...

@rwp I just saw you answer on this. I am having a BEAR of a time getting my site to look good on the surface pro - even if I use 1024 or 1440 or 991 as breakpoints. 1/2 our Exec group is on them, so it needs to look good. Is there a way to code specifically for surface pro?



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.