Jump to content

Remove extra vertical space in Tablet site header

Recommended Posts

  • Replies 3
  • Views 433
  • Created
  • Last Reply

Yes ... the mobile and tablet version of my site has padding in the top and bottom that I don't want.  I wrote some css that seems to be working. 

//remove extra header padding on mobile and tablet
@media only screen and (pointer: coarse) and (max-width: 1024px), screen and (max-width: 799px) {
  .header .header-announcement-bar-wrapper {
      padding-bottom: 0;
    padding-top: 0;
  }  
}

Thanks for responding!

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.