• Resolved puzzlefreetrans

    (@puzzlefreetrans)


    Hi all,

    I wanna know how to use css to hide the current language from my language menu powered by Translatepress.

    I have tried the code below, but it’s not working.
    .translatepress-en_US .tp_en,
    .translatepress-zh_HK .tp_zh
    { display: none !important; }

    Thank you

    • This topic was modified 4 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
    • This topic was modified 4 years, 10 months ago by James Huff.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Have you also added the tp_en and tp_zh classes to the language switcher elements?

    Let me know!

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘translatepress hide current language’ is closed to new replies.