-
AuthorPosts
-
November 24, 2015 at 4:03 pm #541730
I opened this same thread last night and posted that I had found the way to add the Icon, but I HAVEN’T found a way to change the tooltip without it reverting to the pencil Icon. I gave the code for changing the icon and the thread was closed, but the problem remains.
I’ve successfully added an icon to the social media profiles and everything is working as it should with one exception.
I can’t figure out how to make the mouseover tooltip read Blog instead of Magna on the second one from the right edge – it’s a B for Blog icon.
I can get it to read Blog, but it defaults to the pencil Icon when I do.
I sure could use some help.
November 25, 2015 at 6:14 am #542135Hi SmoovP,
I’m not sure I understand what you mean, I can’t see anything like that on the page you linked. Could you try to explain a bit further and/or post screenshots highlighting the issue please?
Regards,
RikardNovember 25, 2015 at 6:21 am #542139In the top right hand corner, in the red bar at the very top. On the right hand side, the 6th icon (between YouTube and Mail) is a B icon.
When you mouseover, the tool tip reads Magna. I want it to read “Magna IV Blog”. Or even just “Blog”
This is the code I used to add the icon.
// Register new icon as a theme icon function avia_add_custom_icon($icons) { $icons['magna'] = array( 'font' =>'magna', 'icon' => 'ue800'); 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['magna'] = 'magna'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
I can get it to read “Magna IV Blog” or “Blog” but when I do, it changes the icon to a Pencil – which I believe is the default icon.
November 30, 2015 at 4:59 am #544277Hi!
Replace this code:
// Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['magna'] = 'magna'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
..with:
// Add new icon as an option for social icons function avia_add_custom_social_icon($icons) { $icons['Magna IV Blog'] = 'magna'; return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
Re-select the social icon in the theme options.
Cheers!
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.