Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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.

    http://test.magna4.com

    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.

    #542135

    Hi 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,
    Rikard

    #542139

    In 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.

    #544277

    Hi!

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.