Tagged: icon font
Hi Kriesi,
Love your theme!
We want to add an custom extra ‘social media’ button to my website that brings users to a custom landing page. For a dutch organisation we want to have an English landing page on a part of the site. Functionality is exactly the same as the mail icon, it just must point to a different section.
How do we fix this?
Regards,
Kees
Hi keesvv!
Thank you for using Enfold.
You can use social icons that you don’t usually use like “Vk” then place the url of the page on the Social Icons URL field. Change the icon with this on functions.php:
add_action('init', 'avia_replace_standard_icon', 10, 1);
function avia_replace_standard_icon($icons) {
global $avia_config;
$avia_config['font_icons']['vk']['icon'] = 'ue877';
return $icons;
}
You can get the icon code by hovering over the icon element:
Regards,
Ismael
Thanks Ismael!
I’ve managed to hide the VK icon, but how do I show a new button instead of the old one?
Kees
Hi!
You’re not hiding the VK button, you should be replacing it with another icon code like I describe above. Use the VK social icon then add the url of the section where you want the icon to point. If the icon that you want is not available, please refer to this link on how to add custom icon fonts: http://kriesi.at/documentation/enfold/adding-your-own-icon-fonts/
Best regards,
Ismael
Hi, I followed this thread to change an icon to a custom (oDesk) icon, yet when i add the code to change to my new icon uploaded from fontello I get the wrong icon? also the hover over still says VK… can you help please?
wait sorry website is http://www.ideate-design.com for reference… its the music icon. thx
Hey @p5uln!
Refer to this topic:
https://kriesi.at/support/topic/use-different-social-icons/
Best regards,
Josue