Anchor handling when using URL to navigate to item

  • Author
    Posts
  • #56502

    przemek
    Participant

    Hi
    How I can handle problem with using urls leading to my ‘id’ items on different page
    Right now the text is scrolled not enough to bottom (probably because of loaded header what overlays text)
    When using links on site then everything behaves ok.
    Lets look at page:

    Słownik do kursu Podstawy Testów Automatycznych


    Use internal links and they work as expected
    But when you use ‘Python’ link placed in

    Krótko o narzędziach których potrzebujemy


    What leads to below url –

    Słownik do kursu Podstawy Testów Automatycznych


    Id ‘python’ is overplayed by header
    When I delete node header then text is properly displayed
    I tried handle this by adding custom class to each item but then internal links are not handled well

    Any ideas how to omit this problem

    Website: jaktestowac.yum.pl

    #56556

    przemek
    Participant

    I see I cannot edit post 🙂 and links not look fine
    So link to section with id is
    “http://jaktestowac.yum.pl/slownik-do-kursu-podstawy-testow-automatycznych/#python”

    #56659

    zed
    Keymaster

    Browsers don’t take fixed elements (like the menu) when performing in-page scrolling to target anchors. This is a limitation we are aware of and are looking for a solution (one that doesn’t requiring including a couple of books-worth of JS into the theme).


    If you like our creations, please rate them on WordPress.org.
    #56676

    przemek
    Participant

    Thanks for answer – looking for this fix in near future releases 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You need to log in to reply to this topic.