• Resolved baykanun

    (@baykanun)


    I have changed the language switcher widget to black, so I want to change the dropdown icon color to white. Is there any css code for this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi @baykanun , hope you’re fine ?
    Sorry for the issue you’re facing.
    Yes you can change it. The dropdown icon is an image locate here : wp-content/plugins/weglot/dist/images/wgarrowdown.png.
    Yoy can modify this image but I think the best solution is to create a new on and modify your css with this rule :
    .country-selector.weglot-dropdown .wgcurrent:after{
    background: url('path of your own dropdown image') no-repeat;}


    Another way is to change this rule with a background: none; and use an icon from font-awesome if you have it on your website

    Hope it’s help

    Regards

    Thread Starter baykanun

    (@baykanun)

    https://prnt.sc/570PSIWI-zJL

    hi, i added code like this. Actually, I changed the current icon to the white icon via the cpanel file and made the name the same, but I couldn’t make it appear. If you want to view the website: peronmedya.com

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi,

    can you try this code :

    .country-selector.weglot-dropdown .wgcurrent:after {
    top: 7px;
    right: 5px;
    width: 27px;
    height: 19px;
    }

    here a quick video to show you the result : https://www.loom.com/share/28f69148d70b477cbaa9598c14219db9?sid=596e9e4c-318b-42a1-a1b6-902371fd0640

    Hope it’s help
    Regards

    Thread Starter baykanun

    (@baykanun)

    hello, when we view the code in the incognito tab, it works but the icon does not appear in the normal tab. We do not use any caching plugins. We can’t see it when we try it from a different computer. What do I need to do so that everyone can view it?

    Plugin Contributor Edson Galina Fortes

    (@glx77)

    Hi,
    the code should work for all. Even you don’t use any caching plugins, other user may have browser caching. They had to refresh it ??

    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘change the dropdown icon color to white’ is closed to new replies.