-
AuthorPosts
-
August 4, 2015 at 2:18 am #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.
August 4, 2015 at 5:21 pm #482846Hey djshortkut!
Please see – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
Best regards,
YigitAugust 5, 2015 at 7:02 pm #483533Thanks 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!
August 7, 2015 at 6:38 am #484295Hey!
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,
IsmaelAugust 7, 2015 at 7:48 am #484312Thank 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
August 10, 2015 at 1:20 am #484997I was able to figure this out. You can close this thread.
-
AuthorPosts
- The topic ‘Change Testimonial Slider (Large) Previous and Next Arrows’ is closed to new replies.