This topic has 8 replies, 4 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp
Hello,
Using mobile phone or tablet, in the landscape mode everything is fine, but when it is turned to portrait mode, logo goes to the left side, near the mobile menu icon, like in the picture below. Is there a way to fix it?
I am using WPML plugin, is there a way to add language flags below cart icon on mobile portrait mode?
Thank You for your cooperation,
Mantas
Hello,
Sorry for a long delay.
Language flag is shown in mobile menu http://prntscr.com/duqp5o . Unfortunately there is no feature to move it to the header.
To center the logo please add this code in custom.css code:
@media (max-width: 480px){
.header .logo {
text-align: center;
}}
Best regards,
Jack Richardson.
Hello,
Thank you for your answer.
Is there a way to add those flags below icon by editing code or maybe adding code to custom.css? Because a lot of website visitors are using mobile phones and it’s crucial for them to see that the website is multilingual.
Best Regards,
Mantas
Hello,
Try to add this code in Custom css:
@media (max-width: 480px){
.top-bar {
display: block;
}
.top-bar .languages-area {
display: block;
margin: 3px 15px;
}
}
Regards,
Rose Tyler.
Hello,
The code works perfectly, thank You!!! But there is another problem, that when I change language to English (main language is Lithuanian), the language switcher disappears. What could be wrong?
Regards,
Mantas
Hello,
You’re welcome!
Try to change this code http://prntscr.com/dw79ov to display: block;
Regards,
Rose Tyler.
Hello,
Now it works 100%, thank You very much!!!
Best Regards,
Mantas
Hello,
You are welcome.
Regards,
Eva Kemp.
The issue related to '‘Logo not centered and language flags’' has been successfully resolved, and the topic is now closed for further responses