[Resolved] Anchor links under sticky header

  • Author
    Posts
  • #11148

    AliPro
    Participant

    🙂

    when I use anchor links the content shows up like hidden under sticky header… it`s a little bit unconvienient… can I fix it somehow? 🙂

    #11150

    Andrew Misplon
    Keymaster

    Hi Ali

    There is only header offset if you’re linking to Page Builder by SiteOrigin row ID’s. If you are, here is how that works: https://purothemes.com/documentation/ultra-theme/one-page-website/.

    If not, you could deactivate smooth scroll in Theme Settings > Navigation (https://purothemes.com/documentation/ultra-theme/customizer/theme-settings/navigation/) and use https://wordpress.org/plugins/hash-link-scroll-offset/.

    #11151

    AliPro
    Participant

    Sorry.. maybe its a very stupid question... but I cannot see (in the article youve sent to me) how to set header offset… 🙁

    I use Page Origin…

    #11152

    Andrew Misplon
    Keymaster

    The originating link must be in the main menu. If the originating link isn’t in the main menu, it must have the puro-scroll class added. The anchor must be a Page Builder Row ID. You can edit the Row ID by editing the row and opening Attributes in the right column.

    #11175

    AliPro
    Participant

    it doesn`t work 🙁

    http://instytutboczarska.pl/terapia-vr/

    first link: Na czym polega rehabilitacja w wirtualnej rzeczywistości?

    is an anchor to row id with added puro-scroll class…

    #11182

    Andrew Misplon
    Keymaster

    The link isn’t in the main menu so you have to add a class:

    <a href="#colophon" class="puro-scroll">Scroll to the footer</a>

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

You must be logged in to reply to this topic.

Scroll to top