I’m using one of font awsome icon as one of the menu item, the problem i’m facing is that when i hover over that menu item, it show little title “which tells the code i used for bringing that icon” i want to use custom title for each menu item, there is no option for that in the menu list.
You can have live look at the www.sunildhillon.in
movin
October 12, 2015, 3:50pm
2
Hi @sunildhillon ,
Sorry to hear of the problem you are having.
It’s the known issue as reported below.
opened 08:00AM - 21 Aug 15 UTC
closed 12:18PM - 29 Oct 15 UTC
Find more information about the issue in the following thread
https://colorlib.… com/wp/forums/topic/wrong-title-attribute-menu-with-font-awesome-icons/#post-26572
The fix is provided in the following reply in the child theme to resolve the issue.
https://colorlib.com/wp/forums/topic/wrong-title-attribute-menu-with-font-awesome-icons/#post-27746
The issue will be fixed ASAP.
In the meanwhile you can fix the issue by editing the following Dazzling theme file on line number 79 as displayed below.
Dazzling theme file :
/wp-content/themes/dazzling/inc/navwalker.php
Before Editing:
$atts['title'] = ! empty( $item->title ) ? $item->title : '';
After Editing:
$atts['title'] = ! empty( $item->attr_title ) ? $item->attr_title : '';
After making the above change you have to set the Title Attribute of the menu item as shown in the attached screenshot.
Best Regards,
Movin
movin
February 16, 2016, 6:16am
4
You are most welcome here