Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperlinks within an Expand

Wayne Jolly
Contributor
November 2, 2025

Within Confluence, we have utilised the Expand function to drop down to further information. There can be expands within expands.

 

The issue we have is that if we have an anchor within any of the expands, and someone clicks on the link, it just takes you to the top level. The User still has no idea where the link is supposed to go to.

 

Any way around this?

1 answer

1 accepted

1 vote
Answer accepted
Kinga_Getint
Atlassian Partner
November 2, 2025

Hey @Wayne Jolly 

For sure, you’re not missing anything - that’s actually a current limitation in Confluence.

Anchors inside Expand macros aren’t recognized properly when the page loads, so clicking a link to one of them only scrolls to the top (without expanding the section). And unfortunately, there’s no native fix right now.

A few possible workarounds that teams use though:

  • Avoid nested expands where possible — keep anchors in the top-level section.
  • Use headings or panels instead of expands if the goal is structure or readability, since anchor links work fine there.
  • Add a short “jump-to” note at the top (“If you can’t see the section, expand the ‘Details’ block below”).

At the moment, I guess those are only options to manage this issue ad hoc. Hope it could help somehow.

Wayne Jolly
Contributor
November 4, 2025

Thanks for the clarification. I have adopted the Headers method. And it does make the page much more complicated that it needed to be .... but better than the links not working correctly.

 Much appreciated. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events