Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #876856

    Hi there,

    I would like to change the arrow icons within the Fullwidth Slider via jQuery with another icon (fontello).

    But whatever i do, it keeps saying: Uncaught TypeError: $ is not a function.
    I added a custom js in the childtheme with:

    function add_customjs() {
       wp_enqueue_script( 'customjs', get_stylesheet_directory_uri().'/js/custom.js', array('jquery'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'add_customjs', 100 );

    I added <script> tag in the google tracking field..

    <script>
    $(window).load(function(){
    	$('#next').data('av_icon', '');
    	$('#next').data('av_iconfont', 'fontello');
    });
    </script>

    Both failed…

    Any other ideas?

    #877569

    Hey Joni,

    Please refer to this post instead – https://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/

    Best regards,
    Yigit

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