Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1402570

    Hello,

    I created a custom language switcher in WPML. I have assigned certain colors to this. Unfortunately, after entering the short code, the colors are not displayed.

    See footer

    #1402592

    Hey Markus,

    Thank you for the inquiry.

    How did you assign colors to the language switcher? If you add some css codes, you may need to toggle or temporarily disable the Enfold > Performance > File Compression settings to regenerate the stylesheets.

    To change the color of the text, you can try this css code.

    .menu-item-language .wpml-ls-display {
        color: red;
    }
    

    Best regards,
    Ismael

    #1402602
    This reply has been marked as private.
    #1403123

    Hi,
    Thanks for your patience and the link to your site I see in your WPML settings Custom language switchers that the expected language selector should be a white button with a border and black text:
    Enfold_Support_778.jpeg
    and this is what I see on your frontend:
    Enfold_Support_780.jpeg
    If you are not seeing this please try clearing your browser cache and check again.

    Best regards,
    Mike

    #1403142
    This reply has been marked as private.
    #1403209

    Hi,
    Thanks for the feedback, I didn’t realize that your footer page is actually a layerslider and it’s style is overriding the WPML style so you will need to use some additional css, as I understand what needs to be changed from the current style, the font needs to be #007ec3 and the border needs to be removed, so in that case Please try adding this css to your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #lang_sel_footer .icl_lang_sel_native {
    	color: #007ec3;
    }
    #lang_sel_footer.wpml-ls-legacy-list-horizontal {
        border: none;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1403269

    pferfect, thank you

    #1403271

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Style WPML Custom language switcher’ is closed to new replies.