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

Accoridion scrolling and page scrolling when smooth scrolling enabled issue

Home / Forums / Virtue Theme / Accoridion scrolling and page scrolling when smooth scrolling enabled issue

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
October 9, 2018 at 4:57 am

Hi There,

hope you can help.

I’m using Virtue Premium theme and am using page anchors with smooth scrolling enabled using the javascript in the header option which works fine in page however I’m having page a couple of issues.

header script is
<script type=”text/javascript”>
jQuery(document).ready(function ($) {
$(‘body’).localScroll({offset: -170});
});
</script>

with -170 to compensate for the sticky header.

– accordion shortcode is scrolling whenever you open or close the accordion
– using the page anchor to move from one page to another via a menu link it hides the sticky header and doesn’t smooth scroll to it

Your wonderful support is much appreciated as always.

Thanks.

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