Jump to content

Anchor Links as Navigation + Blog

Recommended Posts

Posted

Site URL: http://chapter3.ca

My page isn't published yet. I am setting it up on behalf of a client. I am using the Grow Well template. 

Rather than separate pages for each navigation link, all of my content is housed on one page. For my page navigation I've used links and applied the anchor link for each unique section id. They are as follows:

  • chapter3.ca#about
  • chapter3.ca#how-i-work
  • chapter3.ca#service-areas
  • chapter3.ca#team
  • chapter3.ca#contact

However, I want to also include a blog. This URL would be chapter3.ca/blog. When a user navigates to the blog, the navigation menu is now appending #about, #how-i-work. etc. to include /blog. (chapter3.ca#about becomes chapter3.ca/blog#about).

When I changed the links in the navigation section of pages to include the full URL, this takes away seamless scrolling navigation on my main page. It tries to fully re-load the page and then jump to the section instead of just navigating up and down to each seamlessly.

Is there a way for me to either use a different header for the blog or remove the header on the blog entirely. If I have to remove the header, I will likely add a back home button or links to the main page as separate navigation. 

Thanks in advance.

Posted
2 minutes ago, SarahCrewe said:

Site URL: http://chapter3.ca

My page isn't published yet. I am setting it up on behalf of a client. I am using the Grow Well template. 

Rather than separate pages for each navigation link, all of my content is housed on one page. For my page navigation I've used links and applied the anchor link for each unique section id. They are as follows:

  • chapter3.ca#about
  • chapter3.ca#how-i-work
  • chapter3.ca#service-areas
  • chapter3.ca#team
  • chapter3.ca#contact

However, I want to also include a blog. This URL would be chapter3.ca/blog. When a user navigates to the blog, the navigation menu is now appending #about, #how-i-work. etc. to include /blog. (chapter3.ca#about becomes chapter3.ca/blog#about).

When I changed the links in the navigation section of pages to include the full URL, this takes away seamless scrolling navigation on my main page. It tries to fully re-load the page and then jump to the section instead of just navigating up and down to each seamlessly.

Is there a way for me to either use a different header for the blog or remove the header on the blog entirely. If I have to remove the header, I will likely add a back home button or links to the main page as separate navigation. 

Thanks in advance.

Creating all navigator link:

- For home page, use you current link

- For blog page, use chapter3.ca/blog-slug/#about

After that, use the Css code to hide your current link on blog page, hide the blog link navigator on home page.

It could be one solution. Hope in can help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

  • 2 months later...
Posted
On 9/14/2022 at 8:39 AM, SarahCrewe said:

Site URL: http://chapter3.ca

My page isn't published yet. I am setting it up on behalf of a client. I am using the Grow Well template. 

Rather than separate pages for each navigation link, all of my content is housed on one page. For my page navigation I've used links and applied the anchor link for each unique section id. They are as follows:

  • chapter3.ca#about
  • chapter3.ca#how-i-work
  • chapter3.ca#service-areas
  • chapter3.ca#team
  • chapter3.ca#contact

However, I want to also include a blog. This URL would be chapter3.ca/blog. When a user navigates to the blog, the navigation menu is now appending #about, #how-i-work. etc. to include /blog. (chapter3.ca#about becomes chapter3.ca/blog#about).

When I changed the links in the navigation section of pages to include the full URL, this takes away seamless scrolling navigation on my main page. It tries to fully re-load the page and then jump to the section instead of just navigating up and down to each seamlessly.

Is there a way for me to either use a different header for the blog or remove the header on the blog entirely. If I have to remove the header, I will likely add a back home button or links to the main page as separate navigation. 

Thanks in advance.

Hey, I have this exact same issue on my website and I noticed you were able to fix it on your website! Could you please share how? Thank you!!

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.