Jump to content

Removing/Hiding Links in the Header?

Go to solution Solved by Beyondspace,

Recommended Posts

Site URL: https://wisteria-falcon-8d7z.squarespace.com/

Hello! I'm currently making a website for an at-home preschool setup. I'm trying to hide certain aspects of the header (mainly the clickable links of Contact, Bio, and Vision) because I wanted to consolidate them to the footer of the page. I tried looking up the collection ID to hide certain elements based on this solution I found through googling, but I can't seem to get it to work right. 

So how do I find the id's of the relevant header links I want to hide? And how do I code them to be removed from the header? Any help at all would be greatly appreciated, thank you!

Just realized it wasn't accessible since I'm still working on it, I made it accessible via password, and the password is: help

Edited by SarahW
Link to comment
  • Solution
On 12/23/2020 at 1:04 AM, SarahW said:

Site URL: https://wisteria-falcon-8d7z.squarespace.com/

Hello! I'm currently making a website for an at-home preschool setup. I'm trying to hide certain aspects of the header (mainly the clickable links of Contact, Bio, and Vision) because I wanted to consolidate them to the footer of the page. I tried looking up the collection ID to hide certain elements based on this solution I found through googling, but I can't seem to get it to work right. 

So how do I find the id's of the relevant header links I want to hide? And how do I code them to be removed from the header? Any help at all would be greatly appreciated, thank you!

Just realized it wasn't accessible since I'm still working on it, I made it accessible via password, and the password is: help

Kindly try this in Design->Custom CSS

header a[href="/vision"],
header a[href="/bio"],
header a[href="/contact"]{
  display: none;
}
.header-nav-item {
  margin-left: 0 !important;
}
.header-nav-item a {
  margin-left: 1.7vw !important;
}

image.thumb.png.df90a70019b3c0393aa3e620e25e089c.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 12/24/2020 at 9:19 AM, bangank36 said:

Kindly try this in Design->Custom CSS


header a[href="/vision"],
header a[href="/bio"],
header a[href="/contact"]{
  display: none;
}
.header-nav-item {
  margin-left: 0 !important;
}
.header-nav-item a {
  margin-left: 1.7vw !important;
}

image.thumb.png.df90a70019b3c0393aa3e620e25e089c.png

Thank you so much! This made it really easy to implement AND remove additional things as needed! Thank you!

Link to comment
  • 1 year later...

Why can't you choose your header links directly? It seems ridiculous to me that for a website that touts ease of use, you need to learn PHP-script to remove unwanted Home Page links. The first things you see when you go to the page.

For a nearly billion-dollar company with over 1000 employees, this is really shoddy.

Link to comment

One simple action you can try to hide the navigation link on header is just drag and drop them your header to the Not Link on Home > Pages

Have you tried it yet?

Edited by Beyondspace

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.