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

Posted (edited)

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

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

@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

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
Posted (edited)

@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

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

Create an account or sign in to comment

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


×
×
  • Create New...