Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #168112

    Hello

    How can i place the Language-Switcher of the WPML-plug in the toolbar or in the banner area (Theme: ENFOLD) ?

    Thanks
    Kriga

    • This topic was modified 11 years, 1 month ago by Ismael.
    #168607

    Hey kriga!

    Actually Enfold will add the flags to the main menu automatically and you don’t need to insert the language switcher. If you still want to add the default language switcher you can use the

    
    <?php do_action('icl_language_selector'); ?>
    

    function in header.php to show it. It’s difficult for me to tell you which code line you need to modify because I don’t now what you mean with “toolbar” or “in the banner area”.

    Cheers!
    Peter

    #170777

    Hi Dude,

    is there a possibility to have the language 2 letter acronym instead of the flags (at the same place) ?

    For instance, have EN for english, DE for german ?

    Thanks

    john

    #171453

    Hello!


    @lemedia
    : Yes, it is possible. Just add this on your custom.css or Quick CSS:

    .language_flag img {
    display: none !important;
    }
    
    .language_code {
    display: block !important;
    text-transform: uppercase;
    }

    Best regards,
    Ismael

    #171703

    Superb :)
    works very well.
    Thank you very much.

    John

    #171708

    Which code should I add to the Quick CSS if I want to change the color of that code ?
    thanks
    john

    #173289

    Hi!

    You can add the color property to that declaration and change the value as needed:

    
    .language_code {
    display: block !important;
    text-transform: uppercase;
    color: #333;
    }
    

    Cheers!
    Devin

    #186630

    Hi,

    this code to change/remove flags does not work on my Enfold theme:

    http://subseasweden.com/

    Have put the code you posted in my Quick CSS but nothing happens.

    #186669

    Anyone?

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘ENFOLD: WPML switcher in toolbar or top banner’ is closed to new replies.