Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #593270

    Hi there,

    How do I show different social icons in the header and footer? I want to keep existing twitter, facebook etc. in the footer and then have apple and android icons in the header linking to apps.

    Thanks in advance for any advice.

    Best,
    Will

    #593336

    Hi Will

    You can add custom icons by referring to this thread – http://kriesi.at/documentation/enfold/custom-social-icons/. Please do so firstly and then post the link to your website so we can provide you custom CSS code to hide/display them

    Best regards,
    Yigit

    #593354

    Hi Yigit,

    Thanks for your quick response. Regarding the first step, how do I add two new custom icons? The code seems to just show how to add one.

    Site URL posted below.

    Thanks,
    Will

    #593368

    Hi!

    You can change the code to following one

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['icon_name']	 = array( 'font' =>'fontello', 'icon' => 'ue800');
    	$icons['icon_name_two']	 = array( 'font' =>'fontello', 'icon' => 'ue801');
    	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'] = 'icon_name';
    	$icons['Icon Label Two'] = 'icon_name_two';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    If you need help with it, please upload your custom icon fonts using font manager and then post temporary admin logins here privately.

    Cheers!
    Yigit

    #593400

    That’s great, thank you – I really appreciate your help. I’m afraid I can’t give you login details but any chance you could just give me sample css for hiding icons?

    #593403

    Hi!

    Please add all social icons to header and footer and point out the ones you would like to remove from header and from footer.

    Regards,
    Yigit

    #594258

    I would like to hide the twitter and instagram icons in the header.

    #596104

    Hi!

    I visited the link you gave but didn’t see any icons in the footer and there wasn’t a Twitter and Instagram icon in the header. But if you wish to hide the Twitter and Instagram icons from the header only, you can use the following CSS:

    header .social_bookmarks_twitter {
        display: none !important;
    }
    
    header .social_bookmarks_instagram {
        display: none !important;
    }

    Cheers!
    Jordan

    #596814

    Thanks Jordan, that’s useful.

    #596836

    Hey!

    Glad we could help :)

    Best regards,
    Vinay Kashyap

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Header & footer show different social icons’ is closed to new replies.