Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #788838
    #788859

    Hey Bernd,
    Create a js folder then place a avia.js file inside. Add this on the child theme’s functions.php:

    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 );

    Best regards,
    Mike

    #804492

    Hi Mike,
    thank you for your help.
    This topic can be closed.
    Best regards,
    Bernd

    #804849

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Permanent transparent header’ is closed to new replies.