Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    #945166

    Hi, can anyone help with this please?

    Many thanks

    Danielle

    #945213

    Hi,

    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,
    Ismael

    #945328

    Hi 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

    #945792

    Hi,

    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,
    Ismael

    #946228

    Hi 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

    #946322

    Hi 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Custom social media icon not showing’ is closed to new replies.