Jacques
|
Hello,
I'm publishing on WordPress.
When hovering over menu items or subitems, after a couple of seconds a small tooltip appears, labeled as the Menu item, and (of course) hiding the menu and submenu area.
I looked everywhere and its mother's drawer but can't find where to disable this behaviour.
How do I get rid of this tooltip on menu (but keeping this active for the links and images) ?
Thanks for help
J.
|
|
Jacques
|
So, noone knows how to get rid of this tooltip ?
J.
|
|
gcm
|
Look for 'title' => strip_tags($title) in the navigation.php There will be two places with that code. Delete this section (get rid of the last comma also) It should get rid of the title attribute
Sell link below for more info
http://www.artisteer.com/Default.aspx?post_id=194564&p=forum_post
|
|
gcm
|
When I said delete this section I meant delete that code ('title' => strip_tags($title))
|
|
Jacques
|
Thanks a lot for your answer, gcm.
BUT...
Quote rolandos:
None of the solutions have worked for me in vertical menu. Removing that piece of code does nothing. But I found that commenting out the line 85 in navigation.php does the trick. //'title' => strip_tags(empty($el->attr_title) ? $title : $el->attr_title),
Is it safe to do it this way ?
I have the same results 'although it's for the main horizontal menu), and of course I have the same question...Is it safe ?
Regards,
|
|
gcm
|
It worked on my horizontal menu. I think it's safe, I had no problems. But before I would make the change, copy and save the original navigation.php, If there is a problem then paste the original navigation.php page back over to your wp site.
|
|
Unglood
|
Quote Jacques:
Hello,
I'm publishing on WordPress.
When hovering over menu items or subitems, after a couple of seconds a small tooltip appears, labeled as the Menu item, and (of course) hiding the menu and submenu area.
I looked everywhere and its mother's drawer but can't find where to disable this behaviour.
How do I get rid of this tooltip on menu (but keeping this active for the links and images) ?
Thanks for help
J.
WP Admin Panel Menus is where I go to add in a customized tool tip (Title Attribute).... if it's blank then it defaults to the WP Menu's Navigation Label..
I know this doesn't answer your question but it helps to round out the conversation. Doesn't it?!?!
|
|
Mark
|
If you type a space in the "title attribute" and save the menu no tooltip is shown for that menu item. At least it didn't in Chrome. Didn't test other browsers
|
|