It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Anchor doesn't work...

Hi I tried to use anchor to link to a specific section of the same page, but it doesn't work at all....

 

I named the anchor like "section1" and for the link I typed "#section1"

I have tried several names without any luck. 

Hopefully there will be some answers here ;(

Thank you in advance.

1 answer

0 votes
Brant Schroeder Community Leader Jan 22, 2020

Here is some great documentation on anchors https://confluence.atlassian.com/doc/anchors-139442.html 

When you follow the link that should take you to the anchor, what does the URL look like? It should look similar to:

http://baserURL/display/spacekey/Page+Name#PageName-AnchorName

If you're not using the Anchor macro and are manually linking to the heading, replace AnchorName with HeadingName in the above example for the same effect. You can also inspect the heading element with Chrome's dev tools feature or Firebug and look at the heading's id tag for the PageName-HeadingName text. You can add it to the page's normal URL after adding a # at the end and it should link to the anchor.

Side note: If there isn't enough content below your anchor to fill a full page in your browser window, the anchor will place your page view at the end of the page instead of placing the anchor at the top of the window. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,514 views 6 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you