Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1168119

    Dear support,
    i added a custom icon to the social icons like this. The problem is the wrong icon is shown. Is there some error in my code? I want to show the fontello icon ue837 (The feather). You can see the wrong icon (pencil) in the header on the right.

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['icon_name']	 = array( 'font' =>'fontello', 'icon' => 'ue837');
    	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['Newsletter'] = 'Newsletter';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    
    #1168141

    Hey,

    Could you please post temporary admin logins here privately as well so we can look into it? :)

    Regards,
    Yigit

    #1168167

    Hey Yigit, thanks for helping.

    #1168174

    Hey,

    I was updating the theme to the latest beta version but it threw an error. Could you please post FTP logins here privately as well so i can quickly fix it? Sorry for the inconvenience!

    Regards,
    Yigit

    #1168179

    Hey Yigit,
    this is not possible, cause the ftp-login is hardware-locked. What can i do? overwrite the theme?

    #1168183

    I have overwritten the functions.php in enfold. The Website is loading again. But now some headlines are underlined?

    #1168185

    Hi,

    Glad you fixed it!

    Please add following code to Quick CSS

    #top .custom-color-heading a {
        text-decoration: none;
    }

    Best regards,
    Yigit

    #1168186

    It is not really fixed. All headlines now have a empty hyperlink now. Should i overwrite all theme files mayby?

    #1168191

    I fixed this: It seems all h1 special-headlines switched there default to “linked”. After switching this to “no link” it was fixed again.
    Seems like a bug?
    Nice new interface though :-)

    #1168207

    Hi,

    Definitely seems like it! We will look further into it. Thanks for informing us! Glad you liked the new interface :)

    Best regards,
    Yigit

    #1168250

    Hi,
    is there no solution to my problem with the custom social icon in the header?

    #1168419

    Hi,
    Thanks for the login, as I understand your fontello icon is meant to be a feather but when I look at your uploaded fontello-5e0f7125.zip, which is the imported “ast” font it doesn’t contain a feather
    2019-12-21-062011
    I didn’t find another fontello file in your media library, please try uploading this file and importing into your icon manager, and include a link to the file in the Private Content area so I can check the font code.

    Best regards,
    Mike

    #1168468

    Hi Mike,
    but the feather is part of the default font – entypo-fontello? Is it not possible to use that icon?

    #1168583

    Hi,
    Sorry about that, I didn’t realize it was one of the theme’s icons. So to solve this I added this css to your Quick CSS:

    #top #wrap_all .social_bookmarks_Newsletter a:before {
    	content: ""; 
    } 

    it is now working for you, please clear your browser cache and check.

    Best regards,
    Mike

    #1168708

    Hi Mike,
    thank you very much – great support!

    #1168709

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘adding custom icon and link to social sharing’ is closed to new replies.