Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #307893

    Hello, I use this solution to show WPML country code instead of flags in the Main Menu:
    https://kriesi.at/support/topic/wmpl-country-code-instead-of-flags/
    works fine.

    I want to mark the current language underlined, so I added this to my custom CSS:
    li .avia_current_lang .language_flag { text-decoration: underline!important; }

    no sucess so far.
    need some help with the CSS in this place.

    • This topic was modified 10 years, 2 months ago by Yigit.
    #308398

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #308679
    This reply has been marked as private.
    #308688

    Hi!

    Please try this code – insert it into the child theme style.css file or into the quick css field:

    
    #top #avia-menu li.avia_current_lang span{
    text-decoration: underline;
    }
    

    Regards,
    Peter

    #308866

    This is working so nicely! Thank you tor helping me with this. I am happy!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Underline current language WPML’ is closed to new replies.