Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #747917

    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

    #749611

    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

    #749853

    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

    #749882

    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

    #750368

    Thanks Yigit!
    I understand no problem ;)

    I’m waiting to see the new Enfold version!! :D

    Marc – Winsiders

    #750815

    Hi Marc,

    Thanks for the feedback, please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.