This topic has 8 replies, 2 voices, and was last updated 6 years, 11 months ago ago by Rose Tyler
Dear Support,
I am currently using WPML and on the top left side of my website I have the language switcher. I would like to add a link (Home) on the right hand side of the switcher (in the same line).
I tried to do so by adding a “text” widget, however when I do so the language switcher disappears and it gets replaced by the “Home” link.
Please let me know how to solve this issue.
Best regards.
F.
Hello,
Thanks for the topic. Hope you are having a nice day.
Could you please provide wp-admin access in Private Content?
Regards
Sure, no problem.
Before doing it, could you please confirm that you will not modify anything without letting me know?
I would like to have this confirmation, because it is a live website and a potential technical issue causing the website to be down would create a big issue for me.
Thanks in advance for your understanding.
Best regards.
F.
Hello,
Ok. We will check what can be done to achieve desired displaying and explain any modification if these will be made.
Regards
Details provided in Private
You may add Multilingual Text element into Place in header top bar > http://prntscr.com/hme07j
and add this code in custom.css file of your parent theme or in style.css file of child theme:
.top-bar .languages-area div {
display: inline-block;
}
.top-bar .languages-area .widget_icl_lang_sel_widget {
width: 80%;
}
.top-bar .languages-area {
width: 230px;
}
.top-bar .languages-area .widget_text_icl {
vertical-align: middle;
}
@media (max-width:480px){
.top-bar .languages-area div {
display: block;
}
.top-bar .languages-area .widget_text_icl{
display: none;
}
}
Regards
Thank you Rose for your reply.
I tried to implement the suggested code however, the Home link is not on the same line as the switcher (the code was inserted in style.css of the child theme). Rather it is positioned underneath the switcher.
Could you please support me, for me this solution is not acceptable yet.
Best regards.
F.
You’re welcome!
Please clear cache and check one more time http://prntscr.com/hmii5i
Regards
You must be logged in to reply to this topic.Log in/Sign up