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 with center logo header

Home / Forums / Virtue Theme / Smooth scrolling with center logo header

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
January 19, 2017 at 2:54 pm

Hi together,

I used the following now for a few times but it’s not working with a center logo header.

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

It’s written in the footer script.
#nav-main for primary header and #nav-second vor secondary header, but what to use for the center logo header.
I thought .nav-main should work, because it is used in both menu sides, but it didn’t.
Until now nothing I tried worked, please help.

Link:

Thank you very much
Simon

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