Hi @wpuzivatel
You can try it through CSS. For instance:
li.menu-item:hover a {
display:none;
}
li.menu-item:hover:after {
display:inline;
width:100%;
height:100%;
position:static;
}
Then add a rule like this for each menu-item you have.
li#menu-item-390172:hover:after {
content: ‘Im here’;
}
Replace menu-item-390172 with the id of each menu item.
I find that it works best when the content is longer than the abbreviation.
Hope this helps! 🙂
Hi. Thank you for an interesting solution. In style.css (child theme) I used only this part:
li#menu-item-390172:hover:after {
content: ‘Im here’;}
the rest is not needed – it works
You’re welcome @wpuzivatel! Glad to be of assistance! 🙂