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

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


ChantelZP

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
Link to comment
  • Answers 7
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

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

Email me if you have need any help (free, of course.). Answer within 24 hours.

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

Email me if you have need any help (free, of course.). Answer within 24 hours.

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
  • 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;
}
Link to comment
  • 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.

Email me if you have need any help (free, of course.). Answer within 24 hours.

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