Hi team,
I’ve reading this Josue solution on this topic :
https://kriesi.at/support/topic/adding-to-sub-menu/#post-597301
It’s work fine in avia.js but it’s possible this solution in functions.php file?
Thanks for your help!
Marc – Winsiders
Hey Marc,
No. If you would like to apply the changes on child theme, please add following code to Functions.php file of your child theme
function wp_change_aviajs() {
wp_dequeue_script( 'avia-default' );
wp_enqueue_script( 'avia-default-child', get_stylesheet_directory_uri().'/js/avia.js', array('jquery'), 2, true );
}
add_action( 'wp_print_scripts', 'wp_change_aviajs', 100 );
and move modified file inside /js folder
Best regards,
Yigit
Hi Yigit,
Thanks for your help!
I take your solution, it’s good for the moment ;)
Do you think it’s possible to implement with Kriesi a native fixed class on scroll on submenu in next Enfold update?
Marc – Winsiders
Hi,
Next update is coming real soon so i am not sure if that would be possible but please feel free to request – or vote if already requested – such feature on Enfold feature request form. :)
Best regards,
Yigit
Thanks Yigit!
I understand no problem ;)
I’m waiting to see the new Enfold version!! :D
Marc – Winsiders