Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1402559

    Hello together
    I have created a page here: Link 1 below.

    On this page I have created 3 anchors words in red.
    <span style=”color: #ff0000;”>bäärigs</span>
    <span style=”color: #ff0000;”>bischa</span>
    <span style=”color: #ff0000;”>Fiarggr</span>

    can i create links from another page to these 3 anchors
    that the link jumps to the correct word in each case
    Page here: Link 2 below:

    Thanks in advance
    Kind regards
    Franz

    #1402575

    Hey schweg33,
    On the first page, the target page, add a unique ID to each span to create the anchor, for example:
    <span id="bischa" style="color: #ff0000;">bischa</span>
    On the second page create your links using the ID like this:
    <a href="/text-fuer-einen-test#bischa">link to bischa on other page</a>
    Please note that you need to use the full url and ID to the first page.

    Best regards,
    Mike

    #1402597

    Hello Mike
    Works just fine
    only a small problem:

    When I click on the link: Link below

    Does it jump to the right side, but too low
    Would it be possible that it jumps about 1 line higher than the expression ?

    thank you
    kind regards Franz

    #1402598

    sorry

    #1402726

    Hello Mike
    This request can be closed
    I will rephrase this so that it is not completely understandable
    Thanks

    Kind regards
    Franz

    #1402944

    Hi,
    Thank you for your patience, we will close as requested, but if it is helpful using the plugin Page scroll to id will allow you to easily adjust the anchor link offset.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Link directly to the anchors’ is closed to new replies.