Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Problem with smooth scrolling between anchor tags

Home / Forums / Pinnacle Theme / Problem with smooth scrolling between anchor tags

This topic is: Resolved
[Resolved]
Posted in: Pinnacle Theme
July 31, 2015 at 3:53 am

Hello there

First of all thank you for a beautiful theme.

My website is build as a one-page website, using anchor tags in the top custom menu to navigate up and down on the site. Im using a custom piece of javascript (found on these forums, originally posted by Ben I think), to enable smooth scrolling from menu item to menu item, and it works beautifully, EXCEPT for 1 menu item that insists on jumping instantly instead of scrolling. I’m hoping someone can shed some light as to why it persists to jump instead of scrolling, as all the menu items and their anchor tags look exactly the same.

The website in question is http://www.vildtogvin.dk and the menu item that is bugging me is “åbningstider”.

The code I’m using is <script type=”text/javascript”>jQuery(document).ready(function ($) {$(‘#nav-main’).localScroll({offset: 0});});</script>

EDIT: the problem does NOT seem to be present in google chrome, however Firefox and Safari both display the issue.

Thanks

Frederik Schlosser

  • The forum ‘Pinnacle Theme’ is closed to new topics and replies.