ChantelZP Posted August 26, 2019 Share Posted August 26, 2019 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! Link to comment
tuanphan Posted August 26, 2019 Share Posted August 26, 2019 @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/ Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ChantelZP Posted August 26, 2019 Author Share Posted August 26, 2019 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! Link to comment
tuanphan Posted August 26, 2019 Share Posted August 26, 2019 @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 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Mdhanjal Posted August 26, 2019 Share Posted August 26, 2019 past code in that page advance header tab. Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me, Email me here: - mandeepsquarespace@gmail.com Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024 Behance: - https://www.behance.net/mandeepSquarespace Best Hourly Rate: - $15 Per Hour Link to comment
TRC7 Posted May 18, 2020 Share Posted May 18, 2020 @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
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 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. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
TRC7 Posted May 18, 2020 Share Posted May 18, 2020 I got it now...thanks so much for your help! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.