Tagged: custom social icons
-
AuthorPosts
-
January 9, 2018 at 9:37 pm #895374
Greetings!
I followed the instructions here: https://kriesi.at/documentation/enfold/custom-social-icons/ and imported fonts, added code in functions.php, and the Yelp social icon I imported is available and displays properly.
The problems I need to solve are as follows:
– The tooltip/hover text reads “Icon_name”, I need it to read “Yelp”
– The class for the li element reads “av-social-link-icon_name”, I need it to read “av-social-link-yelp”
– The title for the a element inside that li reads “Icon_name”, I need it to read “Yelp”
– The content of the span class=”avia_hidden_link_text” reads “Icon_name”, I need it to read “Yelp”
– I’m having difficulty getting the font and background colors to display correctly on mouseover/hover.You can see all of this by viewing the source code at the attached URL.
I would be grateful for any assistance you could provide.
- This topic was modified 6 years, 11 months ago by northernpacific.
January 9, 2018 at 11:39 pm #895411Hey Andrew,
Can you please create a temporary admin login and post it here privately so we can adjust the code for you? :)
Best regards,
YigitJanuary 10, 2018 at 12:30 am #895432Sure thing – see attached. Thanks!
January 10, 2018 at 4:32 pm #895720Hi,
Editor is missing under Appearance tab therefore we are not able to edit your code from WordPress dashboard. Could you please enable it or provide FTP logins here privately as well so we can edit the file directly on your server? :)
Best regards,
YigitJanuary 15, 2018 at 10:51 pm #897731This reply has been marked as private.January 16, 2018 at 5:15 pm #898068Hi,
Thanks! I changed your code to following one
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['yelp'] = array( 'font' =>'zocial', 'icon' => 'ue800'); return $icons; } add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); // Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Yelp'] = 'yelp'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Please review your website :)
Best regards,
Yigit -
AuthorPosts
- The topic ‘Custom Social Icon questions’ is closed to new replies.