Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #352422

    Hello,

    I want to apply a tooltip on my “Icon box”.
    I saw it’s only possible on “icon”, not for icon box (I haven’t the “tooltip” field)

    How can I do that?
    I join you a screenshot : http://i.imgur.com/hJAlziR.jpg

    Thanks!

    #352487

    When I add an icon with Avia Composer, I can fill a “tooltip” field.
    But when I add an Icon Box, I haven’t this field.

    How can I do that?

    I don’t know if it’s easy to understand, sorry for that!
    Thanks

    #352712

    Hey!

    This is kind of bordering on custom work but it seemed easy enough to do so we’ll try it. Open up /enfold/config-templatebuilder/avia-shortcodes/iconbox.php and around line 380 find this.

    $output .= 		'<div class="iconbox_content">';
    

    Change it to this.

    $output .= 		'<div class="iconbox_content" data-avia-icon-tooltip = "'.htmlspecialchars(do_shortcode($iconbox_tooltip)).'">';
    

    Next find line 291.

    'custom_font'=>'',
    

    Add this beneath it.

    'iconbox_tooltip'=>'',
    

    Next find this code around line 130.

    array(
    		"name" 	=> __("Content",'avia_framework' ),
    		"desc" 	=> __("Add some content for this IconBox",'avia_framework' ),
    		"id" 	=> "content",
    		"type" 	=> "tiny_mce",
    		"std" 	=> __("Click here to add your own text", "avia_framework" )),
    

    And add this above it.

    					array(
    						"name" 	=> __("Optional Tooltip",'avia_framework' ),
    						"desc" 	=> __("Add a tooltip for this Icon. The tooltip will appear on mouse over",'avia_framework' ),
    						"id" 	=> "iconbox_tooltip",
    						"type" 	=> "textarea",
    						"std" 	=> ""),

    Cheers!
    Elliott

    #352758

    Thanks a lot for this support! Cheers

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Tooltip on icon box’ is closed to new replies.