Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1175855

    Hi,

    Not sure if you can help me with this, but giving it a shot!

    Since I didn’t like the site navigation widget included in enfold, I created my own by using this simple code:

    On the side bar widget: a href=”#Inledning”>Inledning
    In the text on the page: h1 id=”Inledning”
    (I removed the < > because they intereferred with the forum)

    I have several navigations which you can view on http://www.onlineterapi.nu

    While they work fairly good, they are not consistent with each other. Well, all of them are except for “nätterapins fördelar”. When clicking on this the page doesn’t scroll like it usually does, but I’m instantly taken to the section. Also, I’m not taken to header even though is where I’m supposed to go, but I end up slightly beneath it.

    While this isn’t the end of the world, do you have any idea why this is happening?

    • This topic was modified 4 years, 11 months ago by illerrre.
    #1175959

    Hey illerrre,

    It might be because you are using the swedish ö in the ID, I think it’s not supported. Please try replacing that with a regular o. Also note that that anchor links are case sensitive, since you are using capital letters in your anchors as well.

    Best regards,
    Rikard

    #1176665

    Hi Rikard,

    I don’t think it’s because swedish characters. On this page: https://onlineterapi.nu/sokorsaker/angest/ I’m experience the same issue with the 5th and second to last entry in the side bar. Exactly the same position as on the root. Very weird.

    #1177048

    Hi,

    Thanks for the update, but you have a special character in that anchor link as well. A Swedish Ä, please try to replace that with a regular A to see if it helps.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.