BCjeff21 Posted July 30, 2014 Share Posted July 30, 2014 I'm using the Five Template, and I'm having all kinds of problems with my custom header in mobile. Help referred me here and said custom CSS could fix my issue. I know nothing of web design so that's why I'm here. Is there a way to disable the header all together for my mobile version only? That way I'll only have the Nav Bar at the top? Link to comment
Guest Posted July 30, 2014 Share Posted July 30, 2014 First, see this article on how to use the CSS Editor on your site: https://help.squarespace.com/guides/using-the-css-editor. Then, simply add this line to the Editor: @media only screen and (max-width: 640px) { #banner-area-wrapper {display: none;} } Note: the max-width property can be adjusted higher if you want to disable the header for tablet sizes as well - typically you'd set it to 1024px instead of 640px. Link to comment
BCjeff21 Posted July 30, 2014 Author Share Posted July 30, 2014 Thank you so much! Worked perfect! Link to comment
E_J_L Posted December 3, 2014 Share Posted December 3, 2014 How could this be done for the Supply template? This code doesn't seem to work. Link to comment
colin.irwin Posted December 3, 2014 Share Posted December 3, 2014 Could you post a link to your site? I'm Colin Irwin aka silvabokis. I've been a Squarespace designer & developer since 2013. I remember when it was all wild prairies round these here parts. 🐃🤠 Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written. That reminds me.. ..you might want to check out my Squarespace template finder or have a look at my other Squarespace tips Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free Link to comment
JaCDesign Posted December 2, 2015 Share Posted December 2, 2015 Thanks I'm trying to do this for Avenue. My URL is https://jamie-stoneham-z906.squarespace.com/config#/design|/coffee-1/ I tried to inspect the element and find what section it was in and used the code:@media only screen and (max-width: 640px){ #extra-wrapper page-header {display: none;}} but that didn't seem to work as well as #banner-area-wrapper. Please let me know what I am doing wrong. Thanks! Link to comment
JaCDesign Posted December 2, 2015 Share Posted December 2, 2015 Thanks I'm trying to do this for Avenue. My URL is https://jamie-stoneham-z906.squarespace.com/config#/design|/coffee-1/ I tried to inspect the element and find what section it was in and used the code:@media only screen and (max-width: 640px){ #extra-wrapper page-header {display: none;}} but that didn't seem to work as well as #banner-area-wrapper. Please let me know what I am doing wrong. Thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.