-
AuthorPosts
-
April 19, 2018 at 10:07 pm #944335
Hi there,
Thanks for a great theme and support! I followed one of your threads in order to add the ability to use fontello icons to the social media area on the side navigation header (I did this by adding to the functions.php file) – this all seems to work and I have managed to get the following happening:
the area clicks through where it should
the hover over colour is correct
it displays ‘calendar’but I cannot get it to actually display the calendar icon (I did change the code to reflect the icon number of the calendar icon), I have added the css to make the icon white, and to change the hover over colour (which this bit works fine), but no icon still. Please can you help!!
I will add site details privately,
Many thanks
Danielle
April 22, 2018 at 11:06 pm #945166Hi, can anyone help with this please?
Many thanks
Danielle
April 23, 2018 at 4:18 am #945213Hi,
Thank you for using Enfold.
How did you apply the calendar icon? Please check if the font parameter is set to “entypo-fontello” instead of “fontello”. Or provide the login details in the private field. We would like to check the modifications.
Best regards,
IsmaelApril 23, 2018 at 10:15 am #945328Hi Ismal,
Thank you for getting back to me – much appreciated. The theme functionc.php file was added to via the server – this code added:
// Register new icon as a theme icon
function avia_add_custom_icon($icons) {
$icons[‘calendar’] = array( ‘font’ =>’fontello’, ‘icon’ => ‘ue85b’);
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[‘Icon Label’] = ‘calendar’;
return $icons;
}
add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);And then the following code in css:
#top #wrap_all .av-social-link-calendar:hover a{
color:#ffffff;
background-color:#52565c;
}Thanks
Danielle
April 24, 2018 at 10:00 am #945792Hi,
Thank you for the info.
We would like to adjust the filter but the current user is not an admin. Please look for this code.
$icons['calendar'] = array( 'font' =>'fontello', 'icon' => 'ue85b');
Set the “font” parameter from “fontello” to “entypo-fontello”.
Best regards,
IsmaelApril 24, 2018 at 9:24 pm #946228Hi Ismael,
I have amended that code as suggested, and it works! thank you so much – this is why I’m on my 4th website build using this theme – excellent support as ever!
Many thanks
Danielle
April 25, 2018 at 1:32 am #946322Hi Danielle,
Glad that Ismael helped you and thanks for continually using our theme. :)
Please feel free to comeback if you need further assistance.
Have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Custom social media icon not showing’ is closed to new replies.