Calling js function in my theme with custom block?

Permalink
I have just started using C5 in the process of rebuilding a web presence for a non profit. Currently, they are using Drupal.

I am using a marketplace theme (lazy5basic) that has smooth scrolling functionality. How can I call on these functions without embedding the included Lazy Menu?

This is the site I am currently putting together:https://cfk.somethinginspired.me...
This is the topmenu code:https://codepen.io/timnetworks/pen/PveVBB...

In packages/theme_lazy5basic/themes/lazy5basic/js/init.js I see the code for the $(".scroll-up").click(function(e) ... can I reuse this somehow?

Ideally my header would replace the defaul nav template..

Thank you,

tshpirnyy
 
mnakalay replied on at Permalink Reply
mnakalay
The nav is most likely a Concrete5 autonav block so you can make any template you want and use it instead of the default.

You should try contacting the theme's developer, h knows his work best and can point you in the right direction.
ob7dev replied on at Permalink Reply
ob7dev
I have a package that can help you with the smooth scrolling stuff:
https://www.concrete5.org/marketplace/addons/anchor-tag-links-smooth...