a simple question.
how can I add a tabindex to a menu?
cuz I want if someone click on the menu item the border top must be white solid 2px but in firefox it works great
and in Google chrome I don’t see it.
can you guys please tell me how to put a tabindex?
greetz
Ozan Bayrak
Hi Ozan
Can you explain further what you’re trying to achieve?
Applying this to Appearance > Custom CSS (Vantage Premium) or your own Custom CSS module would produce a top border while the mouse is depressed:
Hello Andrw Misplon.
The menu items have id:
menu-item-180
menu-item-181
menu-item-182
menu-item-183
menu-item-184
menu-item-185
I did :
.menu-item-180:focus
{
border-top:2px solid white;
}
this only works in firefox and internet explore but not in Google Chrome
I added -webkit-border-before: 2px solid white still doesn’t work
can you please help me ?
If the site is live please can you send me the link.
http://Www.Markbodde.nl/jamfabriek
Use google chrome and firfox to check it it please.
When you click on the menu there must be come a 2 px border top
Firefox – good
Google chrome – mot working
Can’t I edit the menu.php ? to add to all link a tabindex or edit the html ? from the menu ?
Tabindex would need to be dynamically inserted, it’s not as simple as statically adding. I’ll come back to you ASAP.
Hello Andrew Misplon,
I’m waiting for your answer Thanks for helping me!
Greetings
Ozan Bayrak
It’s unfortunately more than we’re able to offer here as support.
The solution if you’d like to develop it yourself or hire someone to do it for you is to add a Custom Walker: http://wordpress.stackexchange.com/questions/54965/add-tabindex-to-navmenu.
More info on that here: http://wordpress.stackexchange.com/questions/14037/menu-items-description-custom-walker-for-wp-nav-menu/14039#14039
Sorry I don’t have more.