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

Okay
  Public Ticket #910699
Smooth Scroll Anchor
Closed

Comments

  •  2
    hellblau started the conversation

    I have a OnePage. The link in the main navigation with "#einladung" works and smoothly scrolls to the "#einladung" part.

    Now I want to add the anchor link to an arrow-down in a Slider Revolution slide. I've linked it with #einladung (same as in the navigation), but instead of scrolling down smoothly it jumps there directly. Is there a class I have to add to that link in order to get the smooth scrolling?

  •  7,280
    Oliver replied

    HI!

    Pls. use next code for adding links:

    <a href="#einladung"class="scroll-to-anchor">Einladung</a>
    

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

    Regards, Oliver

  •  2
    hellblau replied

    Thanks for the quick reply! That works!

  •  7,280
    Oliver replied

    You are welcome. 

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

    Regards, Oliver