Plugin Author
edo888
(@edo888)
Hi,
You can possibly do that via CSS, for example something like this will do the trick:
html[lang="de-DE"] a[title="German"],
html[lang="de"] a[title="German"],
html[lang="en"] a[title="English"] {display: none;}
I would also recommend to change this CSS from
.fusion-main-menu>ul>li {padding-right:46px;} to
.fusion-main-menu>ul>li a {padding-right:46px;}
and remove this rule .fusion-main-menu>ul>li {padding-right:45px;}, this is specific to your theme and is inside wp-content/uploads/fusion-styles/20ccd1ce7b5632a6af8b4cd07f556101.min.css file.
Hope it helps.
Thanks! 🙂
Hi,
I want to do the same (show only one language code in the menu.)
Can you please help? I didn’t get the above code. I am using 2 languages but I want to show only one inactive langaugae.
-
This reply was modified 4 years, 1 month ago by
syedzaadii.