Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
ChantelZP

Help removing the mobile header from one page on the York template

Question

Hello! I am working on this site: https://rectangle-gecko-tryt.squarespace.com (password is: test) This site uses the York template.

I am trying to remove the header/site title from the workbook page (https://rectangle-gecko-tryt.squarespace.com/gregprayworkbook).

I was able to do this with the following code:


#collection-5d5a22edb451b500013591da {
      header, footer, {
        display: none !important;}}

However, it still shows for the tablet and mobile breakpoints. We will be using a Personal Level account so we cannot inject this code into the individual page via the advanced settings. I have seen many posts on this site that use that solve but nothing that leverages the custom CSS for York.

Do any of you have any advice on how to fix this and remove the site title from the mobile breakpoints for this one page only?

Many thanks!

Edited by ChantelZP
Initial Revision

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 0

@ChantelZP You want to remove header, or header & footer?

Mobile & table, you can use this CSS (Add to Home > Design > Custom CSS, All plans have this option).


/* Header for mobile, desktop */
.mobile-bar-wrapper {
   display: none;
}

If it doesn't work, use: display: none !important;

Reference: https://beaverhero.com/york-template-squarespace/

Edited by tuanphan

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Thank you so much for looking in to this! Unfortunately, this hides it everywhere not just on that one page. Any other thoughts? Many thanks again!

Share this post


Link to post
  • 0

@ChantelZP sorry, i didn't read carefully your question. Use this code


/* Header for mobile, desktop */
body#collection-5d5a22edb451b500013591da .mobile-bar-wrapper {
    display: none;
}

body#...da is Page ID. Each page will have different ID. You can replace body...da if you want to header for other pages. See how to find Page ID. https://beaverhero.com/squarespace-how-to/#HowtoFindPageID

Edited by tuanphan
Initial Revision

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

past code in that page advance header tab.


Hi, I'm BITTU. A website developer with 8 years experience with Squarespace. if you need help and work with me email me here :- mandeepsquarespace@gmail.com Best Hourly Rate :- $15 Per Hour

Share this post


Link to post
  • 0

@tuanphan

I'm trying to create a more flexible landing page than the cover page.  I found the following code which has been helpful in removing the navigation and header from this one page.  It worked for desktop view, but it still shows up on mobile.  

<style> #header { display: none } </style>

I tried using this code shared above on that one page and could not get it to work...any other ideas?  Thanks!

/* Header for mobile, desktop */
body#collection-5d5a22edb451b500013591da .mobile-bar-wrapper {
    display: none;
}

Share this post


Link to post
  • 0
7 hours ago, TRC7 said:

@tuanphan

I'm trying to create a more flexible landing page than the cover page.  I found the following code which has been helpful in removing the navigation and header from this one page.  It worked for desktop view, but it still shows up on mobile.  

<style> #header { display: none } </style>

I tried using this code shared above on that one page and could not get it to work...any other ideas?  Thanks!


/* Header for mobile, desktop */
body#collection-5d5a22edb451b500013591da .mobile-bar-wrapper {
    display: none;
}

body#collection is Page ID. Each page has specific ID. See how to find Page ID.


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
Posted (edited)

I got it now...thanks so much for your help!

 

 

Edited by TRC7

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...