• Resolved kala0202

    (@kala0202)


    Hi,

    Can somebody please help modify WPML Language Switcher?

    Here is an example how I want it to be: https://a3sport.sk

    Thank you in advancce for help.

    Kind regards,
    Danylo

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

Viewing 1 replies (of 1 total)
  • Hi,

    Sorry about the slow response!

    This is a public forum for WCML related inquiries but if you just need to hide the name of the current language, you can add something like this to your CSS:

    
    html:lang(en) [title=English] .wpml-ls-native {
        display: none;
    }
    html:lang(sk) [title=Slovenčina] .wpml-ls-native {
        display: none;
    }
    

    There are better ways to accomplish this with CSS (where you don’t need to add one line per language. But I’m not sure exactly what you are trying to accomplish (we cannot help actually style the LS as that is more of a design thing but we are happy to help as much as we can).

    Please open a Support ticket in the WPML Support Forums to get more help with this!
    https://wpml.org/forums/forum/english-support/

    Thank you and Stay Safe!

    Best,
    Izzi

Viewing 1 replies (of 1 total)

The topic ‘CSS of the Language Switcher’ is closed to new replies.