Viewing 23 posts - 31 through 53 (of 53 total)
  • Author
    Posts
  • #508311

    Hey!

    That shouldn’t be a problem if you register it with a code like this:

    add_filter('avf_default_icons','avia_replace_mobile_menu_icon', 10, 1);
    
    function avia_replace_mobile_menu_icon($icons)
    {
    $icons['mobile_menu']	 = array( 'font' =>'font_name_here', 'icon' => 'ue811');
    return $icons;
    }

    You can define your font name there and have it have the same charcode.

    Regards,
    Josue

    #508426

    hmm, isn´t that jut dor the mobile menu icon.
    I can change the mobile_menu icon with your code.

    I need to change the “star” symbol which has the charactercode ue808

    #509322

    That code was meant to be seen as an example, if you want to change supersticky then it would be:

    add_filter('avf_default_icons','avia_replace_mobile_menu_icon', 10, 1);
    
    function avia_replace_mobile_menu_icon($icons) {
    $icons['supersticky'] = array( 'font' =>'_font_name_here_', 'icon' => '_charcode_here_');
    return $icons;
    }
    #509496

    That is was I tried as well.

    Ok know it is working in the Template editor. That´s good. I use CSS to make place some own icons.
    There it isn´t working.

    .icon-cancel::before {
    content: “\e808”;
    }
    still the star is showing. – I think there is no solution

    #509499

    Hi,

    Can you please create me a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #509504

    Oh you will be shocked – the Enfold is completely Customiced.

    #509575

    You forgot the link to the site.

    #526368

    Hi there – I´m back!

    I saw that I could remove the “supersticky icon” …. But now – the same Problem is to remove the “sticky”
    This code won´t work::

    function avia_replace_mobile_menu_icon($icons) {
    $icons[‘sticky’] = array( ‘font’ =>’star-empty’, ‘icon’ => ‘ue998’);

    return $icons;
    }
    add_filter(‘avf_default_icons’,’avia_replace_mobile_menu_icon’, 10, 1);

    #526448

    Hey!

    Whats the site URL?

    Best regards,
    Josue

    #526588

    Hi – you allready found a solution above. But know its not possible to place any new icon…
    I think i have to insert the secondary iconfont external.

    #527211

    Hey!

    There’s no star-empty font here – http://screencast.com/t/7BZvVcvIfLP

    Cheers!
    Josue

    #527270

    Sorry I deleted my new fonts. SO i tried to upload again new fontello fonts.

    1. In my style css I like to handle the new icons for customiced templates:

    .icon-related::before {    content: "\e800";   }
    .icon-cancel:before {   	content: "\e808";  }
    .icon-techdetails::before {     content: "\e930";  }

    But tis code are allready set standard

    2. in my functions.php I tried the code Line 156:

    function avia_replace_mobile_menu_icon($icons) {
    	$icons['supersticky'] = array( 'font' =>'star', 'icon' => 'ue999');
    	$icons['pinterest'] = array( 'font' =>'pinterest', 'icon' => 'ue998');
    	
    	return $icons;
    }
    add_filter('avf_default_icons','avia_replace_mobile_menu_icon', 10, 1);

    Nothoing helps! I´m at the End.

    #527728

    Hey!

    You need to set the font-family to the custom is, try this:

    .icon-techdetails::before {
        content: "\e930";  
        font-family: "fontello";
    }

    Cheers!
    Josue

    #528561

    OUH no not really?? – i just forget to set the Font-family??
    Hell – sorry about that.

    And thank you very much for your help !!!

    #528848

    You are welcome, glad to help :)

    Regards,
    Josue

    #666131

    Hi Kriesi team.

    Thank for the awesome theme (Enfold). I’ve tried to find a solution for my issue for a few hours now but I’m not sure I can manage it myself.

    I have changed the “scrolldown” icon, that wsn’t difficult, I have just changed the icon number:

    ‘scrolldown’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue86f’),

    I’m wondering if I can
    a) change the colour of this icon
    b) can I use a custom image instead of the icon (e.g. a png I made), and if so, how I add it to the code.

    Your help would be greatly appreciated as I really am lame with coding.

    Thanks in advance.

    #666834

    Hi,

    Post a link to the Page where you have the toggle element.

    Best regards,
    Josue

    #666836

    Hi Josue,
    Thanks for getting back to me. You can find the link to the site in question below. The icon I’d like to change is the down arrow right at the bottom of the first section (with the video background) of the page.

    Your help is much appreciated.

    Best,

    Matt

    • This reply was modified 8 years, 4 months ago by equio.
    #666842

    Hey!

    Try adding this code to the Quick CSS:

    #top .scroll-down-link:before {
           content: url(_LINK_TO_IMG_);
    }
    

    Make sure the image is around 60×60.

    Cheers! 
    Josue

    #666880

    Thank you, Josue,

    I’ll try that and will get back to you.

    Cheers

    #666919

    We looking forward to hearing from you :)

    Regards,
    
Josue

    #667190

    Hey Josue,

    Thanks for your help, it worked like a charm.

    Cheers,

    e.

    #668316

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 23 posts - 31 through 53 (of 53 total)
  • The topic ‘Replace toggle icon with another entypo-fontello font OR use a png’ is closed to new replies.