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

    Is there a way you can provide me with some quick css to change the previous and next arrows for my testimonial slider (large) on the bottom of my home page (See attached image) I want to replace them with some custom icons I imported. Font-Family: lineicons6 \ue800 & \ue801 Thanks in advance!

    • This topic was modified 9 years, 3 months ago by djshortkut.
    #482846
    #483533

    Thanks Yigit! I’m aware of this tutorial but I still need help with the code as I’m not too savvy with code. Can you please provide me with the code to add into my functions.php file to change the icon used for the previous and next arrows. Since I’m going to be replacing them with custom icons I imported can you also have it include the font-family since the charcodes are duplicated with the entypo-fontello font. Thanks!

    #484295

    Hey!

    Please give us the font icon zip file from the fontello.com then we’ll test it on our installation. You can try this code in the function.php file:

    add_action('init', function() {
    	global $avia_config;
    	$avia_config['font_icons']['next_big']['icon'] = 'ue824';
    	$avia_config['font_icons']['prev_big']['icon'] = 'ue824';
    	return $avia_config;
    });

    Best regards,
    Ismael

    #484312

    Thank you Ismael. I tried copying this code directly from the forum and adding it to my functions.php file in my child theme and I get the error below just like I do when trying to change my mobile menu buttons. I noticed that each time I add a new font family into the iconfont manager the charcodes start over so I think this error is happening because there are multiple fonts with the same charcode with different font families. How can I indicate the font family the icon is coming from? I think this might help. I have attached the icon zip file in the private area as requested. Please let me know how to fix this. I had to remove the code so my site would work.

    Parse error: syntax error, unexpected ‘font_icons’ (T_STRING) in /home/content/p3nexnas05_data03/72/2104972/html/wp-content/themes/enfold-child/functions.php on line 61

    #484997

    I was able to figure this out. You can close this thread.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change Testimonial Slider (Large) Previous and Next Arrows’ is closed to new replies.