Jump to content

Hiding footer from mobile on one page only?

Recommended Posts

Site URL: https://www.sausboston.com/

Hello everyone! 
I am trying to hide my footer from my home page, only on mobile view. Is anyone familar with doing this?

I tried adding the following code to the advanced section of the Page Settings, but that hid it from both mobile and desktop.

<style>
.header, #footer-sections {
display:none !important; 
}
</style>

Site: https://www.sausboston.com/
Login: chinreneetanya

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi, add this to the Custom CSS instead of the code you've added to the header code injection:

#collection-625642d49113fa3f4bec03a5 {
  @media only screen and (min-width:750px) {
    .header, #footer-sections {
    display:none;
  }
 }
}

 

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.