ColorlibHQ / illdy

Illdy is a free one page WordPress business theme with a minimal design
GNU General Public License v3.0
44 stars 38 forks source link

Scroll menu is not working #317

Closed nodarik closed 3 years ago

nodarik commented 3 years ago

it's not working even on our demo: https://demo.colorlib.com/illdy/

reported by users here: https://forums.colorlib.com/t/anchor-links-not-working-properly/27703/4

2w3nn3r commented 3 years ago

Found the problem: wp-content/themes/illdy/layout/js/script.js in function smoothScrollAnchors() where

$('#sticky-wrapper' ).outerHeight( true )

returns undefined value. Changed it to this:

($('#sticky-wrapper' ).outerHeight( true ) || 0)

Not tested with sticky wrappers... but scrolling works for me again.

mahendrapratap4022 commented 3 years ago

Hi @nodarik This bug is fixed in https://github.com/ColorlibHQ/illdy/pull/323