I have the same question.
In a vertical menu it looks better when text comes first.
Hello
The presentation is the matter of your css file it’s not Polylang support but however p11p you can try that:
.lang-item {
float: right;
}
Some hints are available in the Polylang FAQ and there.
Use the tool Firebug. This tool changes the page as you modify the code so you can see what looks right.
It’s better to create a child theme so that your modifications will be not overwritten when you will update your theme.
Thread Starter
p11p
(@p11p)
Hi Chrysti
Thank you for your input. I’ve included your code into the child theme style.css.
However, the flag’s still positioned to the left instead of to the right.
Solution?
Thread Starter
p11p
(@p11p)
Your flag is well positioned to the right, no problem.
Thread Starter
p11p
(@p11p)
Unfortunately, it’s not. I’ve checked it with three different browsers. The flag is still LEFT to the word “EN” or “DE”. The flag should be RIGHT to the word “EN” or “DE”.
Thread Starter
p11p
(@p11p)
I’ve tried it with the following code snippet:
<?php pll_the_languages(array(‘show_names’=>1, ‘show_flags’=>1)); ?>
However, the flags are still positioned to the left instead of to the right, AND I can’t integrate the two variables within a dropdown menu.
You need to rewrite the language switcher in php.
You must create loops etc… It requires developpeur php skills.