Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1397318
one page links
Closed

Comments

  • Judith List started the conversation

    Hi!

    I've built a one-page site with menu-links to the different anchors on the page according to the documentation.

    When I click on the link "Das Team" (anchor #team) in the menu it perfectly scrolls to the correct "page" (row in the builder).

    I integrated another link into the site with the same href (#team) that should link to the same part of the page. When I click this one, it shows the correct part of the page WITHOUT scrolling, the menu is missing and further scrolling is broken (you can try this by clicking on "Judith & Daniela" on the first "page")

    How can I make own links inside my page, that act like the ones in the menu?

    Thanks for your help.

    Judith

  •  7,280
    Oliver replied

    Hi, you need to add the class "scroll-to-anchor" to the link, example:

    <a class="scroll-to-anchor" href="#team">link</a>

    You can use row html shortcode for putting html code on the page.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Judith List replied

    Hi,

    thanks - it worked perfectly.

    Merry Christmas!

    Judith

  •  7,280
    Oliver replied

    Welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver