Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

Reply To: menu highligting wrong item and link to slide

New Front EN Support Forums Kanso Theme Support menu highligting wrong item and link to slide Reply To: menu highligting wrong item and link to slide

#2618
mmsatori
Keymaster

Hey Morten,

I’ve fixed the menu item highlight issue (corrected a part of the code in your “header-functions.php” file). Thank you for bringing this up, I will also include the fix into the next theme update (1.4).

Regarding the in-page links: Kanso does have a smooth scrolling feature installed, yet at the moment it is set to only affect the menu links. If you want to include other links into this feature, you will need to alter the selector on line 576 of the “header-functions.php” file (e.g. instead of ‘.nav-smooth .main-menu a’ you can make it just ‘a’ for all links or add a specific class that you’re planning to attribute to the in-page links, e.g. ‘.nav-smooth .main-menu a, a.in-page’

Best,
Andrii / Satori Studio