Site logo

Archived topic

Anchor Tags

8 replies · Started by Brett on October 26, 2020

Viewing posts 1–9 of 9

I've got tag that looks like this:

<h2><strong><a id="special" href="#special">My Tag</a></strong></h2>

I've got two issues:

1. When I reference the tag, it positions to the content below, instead of on the tag itself. Is there a way to make the heading to be positioned at the top of the view?

2. I'd love to not have the tag appear as a link, is that possible?

Thanks!

Brett

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know :)

I've added the link in the private information area.

Are you linking a menu item to that section?

I will be linking a menu and from another page.

Right now, I'm in development so I don't want to add the menu items yet.

Thanks!

Have any ideas on how to fix my issues?

BTW: I added a pwd to the page.

Hi there,

This will link to itself:

<h2><strong><a id="special" href="#special">My Tag</a></strong></h2>

What if you just do this?:

<h2 id="special">My Tag</h2>

That worked. Thanks!

No problem :)

This archived topic is closed to new replies.