Hi,
how can I remove the title attribute in the navigation bar?
Thank you in advance.
Sincerely,
Mark
how can I remove the title attribute in the navigation bar?
Thank you in advance.
Sincerely,
Mark
Remove title attribute
|
Hi,
how can I remove the title attribute in the navigation bar? Thank you in advance. Sincerely, Mark
2013-10-15, 00:40:26
You have to replace get_navigation by a modified function.
Here's a way: 1. Create a component e.g. my-navigation with this content: Code: <?php 2. Edit your template and replace Code: get_navigation(return_page_slug()); Code: get_component('my-navigation');
2013-10-15, 01:39:43
or js
Code: $('*[title]').removeAttr('title');
2013-10-15, 01:39:54
Thank you very much! It works perfectly
2013-11-19, 07:48:54
(2013-10-15, 01:39:43)shawn_a Wrote: or js Should this also work with an i18n drop menu? I'm trying to remove the title so it doesn't cover up my first drop menu item. I added your line of js in the template surrounded by script tags. I think I am missing something here.... |
« Next Oldest | Next Newest »
|