Jump to content

Make site header ONLY viewable on Mobile

Recommended Posts

Site URL: https://superhero-mth.squarespace.com

Hi there,
I'm trying to make the header of my site viewable ONLY on mobile.

I'm currently using this code to hide the header:

header {
display: none;
}

The header I've designed for the main page won't function on mobile, so I'd like to show the header/menu for the mobile version.

How can I do that? Any insight would be helpful.

Password: SuperheroProject
Thanks,
-Michael

2020-04-13_03-57-13_PM.jpg

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

To hide header on desktop, add this code to Home > Design > Custom CSS

@media screen and (min-width:992px) {
header#header {
	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

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.