Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1182191
    maria
    Participant

    Hi,
    I’ve managed to add the WPML to the topbar by following instructions from other post, but I have a bug.

    I can only see ‘english’ (see attached image) when I should be seeing ‘English Spanish’ as I’ve set up (see attached image) in WPML.

    Can you help?

    Thanks, Silka

    #1182579
    Prasant Rai
    Moderator

    Hello Silka,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1183390
    maria
    Participant

    Sure. the page is http://ecbiz206.inmotionhosting.com/~hnporg5/

    I added this to the global CSS…

    .wpml-selector {
    float:right;
    display: block;
    margin-top: 17px;
    width: 60px;
    padding-right:0em;
    }
    .home #lang_sel_list ul {
    border-top: none !important;
    }
    .home #lang_sel_list a.lang_sel_sel, #lang_sel_list a.lang_sel_sel:visited {
    background-color: transparent;
    border: 0;
    font-size: 13px;
    color:#fff;
    opacity: 0.7;
    letter-spacing: 0.15em;
    font-family: poppins, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: 400;
    }

    …and also modified the _topbar.php file and added it to the x-child theme as you recommend.

    Thanks in advance for your help.

    Silka

    #1183468
    Darshana
    Moderator

    Hi there,

    Did you add translations to the other language? otherwise it will not show. Please refer to the following resource (https://wpml.org/forums/topic/language-switcher-display-only-one-language/).

    Hope that helps.

    #1183796
    maria
    Participant

    Hi,
    So I made the suggestion by WPML. How do I now change the ‘Espanol’ in CSS? See image…

    #1184116
    Jade
    Moderator

    Hi Silka,

    You can use this code to target the Espanol text in the language menu:

    #lang_sel_list li.icl-es a.lang_sel_other {
        /* Your CSS here */
    }

    Hope this helps.

    #1185061
    maria
    Participant

    Thanks that worked!

    #1185143
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1182191 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>