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

Smooth Scrolling using Anchors and menu

Home / Forums / Virtue Theme / Smooth Scrolling using Anchors and menu

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
October 5, 2015 at 10:24 pm

Hello,

I tried using the method you had suggested to other users for smooth scrolling by adding

.navclass {
display: none;
}
.page-id-57 .navclass {
display: block;
}

to my css and

<script type=”text/javascript”>jQuery(document).ready(function ($) {$(‘#nav-second’).localScroll({offset: -130});});</script>

to the footer.

I replaced the page id with the page id for my page and its not working. Any ideas?

Thank you,
Eric

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