Could someone give me a hint to correctly replace CSS classes added by Polylang with a custom ID handle (say, id=lang) in language switcher menu: <li class="lang-item lang-item-5 menu-item"><a hreflang="ru" href="http://example.com/russian/">Рус</a></li>
to get <li id="lang"><a hreflang="ru" href="http://example.com/russian/">Рус</a></li>
Sorry, but have to re-open this question. My coder asked me to try to get one and clear reply: is there a way to use id instead of classes in this particular case, or not. If it does exist, how to do it without checking the source code?
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: Polylang] How to replace lang-item lang-item-5 menu-item classes with id’ is closed to new replies.