Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #361742

    Hello,

    Thanks for creating great theme and strong support.

    I have two questions.

    1) I am using WPML in Top Menu bar. By default, flag for each language shows up. I want to remove flag and use just language name instead. I try to change it from WPML setting. But it seems no effect at all to the theme. I am using child theme, could this be source of problem?

    2) I am using post slider on my home page, the gap between posts is too wide, I want to narrow down. Please point to the css where I could adjust.

    thanks in advance!

    I add link to my testing site below.

    #361956

    Hi Zaw Zaw!

    Thank you for using Enfold.

    1.) First, create an Enfold Secondary Menu on Appearance > Menus panel, you don’t have to add any menu items. Go to Enfold > Header, enable the Header Secondary Menu. Go to WPML > Languages then look for Display the language switcher in the WP Menu. Choose the Enfold Secondary Menu. Add this on Quick CSS to remove the default image flags:

    ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {
    display: none;
    }

    2.) Try this on Quick CSS:

    .avia-content-slider .slide-entry.av_one_fifth {
    width: 19%;
    margin-left: 1%;
    }

    Adjust the values if needed.

    Best regards,
    Ismael

    #363274
    This reply has been marked as private.
    #364077

    Hi!

    try to add an !important to Ismael’s code:

    ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {
    display: none !important;
    }
    

    and clear your browser cache.

    Best regards,
    Andy

    #367133

    Dear Ismael and Andy,

    Thanks for the advices. I strictly follow your suggestions – clear browser cache, try with different machine, restart server. But I cannot get rid of language flag.

    My client request to use only language name instead of flag as it might mislead the meaning as an indication for location.

    Any further advice?

    I appreciate your continuous support.

    thanks,
    Zaw Zaw

    #367574

    Hi!

    replace code with this one:

    .avia_wpml_language_switch li .language_flag {
    display: none;
    }
    

    or

    .avia_wpml_language_switch li .language_flag {
    display: none !important;
    }
    

    If necessary clear browser cache after putting in this code.

    Cheers!
    Andy

    #393300

    Thanks,

    I fixed my problem with this code:

    .avia_wpml_language_switch li .language_flag {
    display: none !important;
    }
    
    .avia_wpml_language_switch li span.language_native{display: block !important;}
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘WPML removing flag in WPML language switcher’ is closed to new replies.