Jump to content

Page Anchor link jumps far beyond code block anchor

Go to solution Solved by tuanphan,

Recommended Posts

Hi,  http://www.pnaiorpdx.org  -> community -> book club

1. I've added links to page anchors at the top of the page.  For example,

1. A section of the page is titled "Future Book Suggestions."  

2. At the top of the page, "Future Book Suggestions" has the link https://www.pnaiorpdx.org/book-club/#suggestions so  you can jump right to this section.

3. The anchor is further down the page directly on top of the section titled "Future Book Suggestions."  The anchor is:  <p id="suggestions"/p>

Problem:  When you click "Future Book Suggestions,"  you land a few paragraphs further down than the anchor.  I would like to land at the line "Future Book Suggestions."

Is there a way not to jump beyond the anchor?

Thank you for any help!

Polina

images: a the link;  b. the anchor  c. where you land several paragraphs down from the anchor which has been placed on top of the section title.

Screen Shot 2024-02-03 at 12.38.23 PM.jpg

Screen Shot 2024-02-03 at 12.50.30 PM.jpg

Screen Shot 2024-02-03 at 12.52.06 PM.jpg

Link to comment
  • Replies 3
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.