Smooth scrolling

My smooth scrolling is not working on https://www.anti3protectseries.com when I try to link it from an image, it just jumps.

When I click on the images with the bottles it just jumps to the section instead of scrolling.  I put scroll inside the custom classes and put the custom Id names in too.  

It works when it is a menu item, but I am trying to link it from an image box or hover box and have it scroll smoothly.  Is this possible?

Comments

  • Hi,
    if you are using custom links for smooth scrolling then you need to add a class="scroll" to that element
    thanks
  • I put the "scroll" as the element and it works from the menu link.  I am triny yo link it from an image though and it just jumps to the spot on the page instead of scrolls.
  • Like we said, the menu links will work without adding the 'scroll' class to them because there is a one-page option enabled. If you want to add a custom link to scroll then you have to add this class to the link element, example:
    <a href=#myid" class="scroll">Click me</a>
    thanks
Sign In or Register to comment.