-
AuthorPosts
-
September 23, 2016 at 12:40 pm #690663
Hi
WPML language tab doesn’t show up in mobile and tablet mode of the website (link in private area)Let me know please how may I fix that?
Regards,
SadeghSeptember 27, 2016 at 12:55 pm #692199Hey Sadegh,
It does not show up on my end on desktop as well. Where would you like to display it? And can you please create a temporary admin login and post it here privately?
Best regards,
YigitSeptember 28, 2016 at 4:36 pm #692805Hey dear Yigit,
– Could you please check that again (I had to remove the plugin due to our host issues, but now it works fine)
– In both Mobile and Tablet mode, I would like to display the languages besides the menu square (as it has illustrated below)
+ It seems that Tablet menu doesn’t look like as same as Mobile menu. I don’t know why, but I wonder how could I make Tablet mode exactly looks like Mobile menu.
+ You may find the credentials in private area.September 30, 2016 at 6:18 am #693531Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
@media only screen and (max-width: 767px){ #header_meta .sub_menu { min-width: 560px; background: rgba(0, 0, 0, 0); padding-left: 0; padding-top: 0px; right: 30%; position: relative !important; top: 15px; } } @media only screen and (max-width: 990px){ #header_meta { display: block !important; height: 0px !important; min-height: 0px !important; } }
Best regards,
JordanSeptember 30, 2016 at 11:51 am #693616Hi Jordan,
The code doesn’t work for me and the WPML language still doesn’t show up in both Tablet and Mobile mode.Regards,
SadeghOctober 3, 2016 at 5:07 am #694404Hi,
We added the css code in the English and Persian General Styling > Quick CSS field. Please remove browser or hard refresh the page.
Best regards,
IsmaelOctober 3, 2016 at 7:26 am #694463Hi,
> Please change the code you used.
As it made the website looks wrong in Tablet mode. Here is the screen:
In mobile mode, the flags are not in center, anyway we could fix that?> And also, let me know please what code did you used.
Regards,
SadeghOctober 5, 2016 at 5:21 pm #695646Hi,
I can’t find any flags on your website. Did you remove them again? Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
AndyOctober 5, 2016 at 9:05 pm #695762Hey dear Andy,
Yes, you are right (the flags are changed to the texts).
So let me give you a fresh look:>> Here is the website in desktop mode: (which is totally fine with us)
>> Here is the website in tablet mode and mobile mode (where the problem is exists)
Tablet Mode:
Mobile Mode:
In both Tablet and Mobile mode, we would like to just see the language texts (English – فارسی), without seeing any search bar.
Regards,
SadeghOctober 6, 2016 at 1:57 pm #696023Hey!
Please add following code to Quick CSS
@media only screen and (max-width: 990px) { #top #searchform { display: none !important; } #header_meta .sub_menu { min-width: auto; } }
Regards,
YigitOctober 6, 2016 at 2:15 pm #696036Hey Yigit,
This is what happening after adding the code you gave for tablet and mobile mode:
>> Tablet mode:
– Is it possible to make the blue bar full width?
>> Mobile mode still doesn’t changed and the problem is still exist as before.
Kind regards,
SadeghOctober 8, 2016 at 5:50 am #696800Hi!
We modified the css codes in the Quick CSS field.
#top .sub_menu > ul { float: right; margin-right: 20px; } .rtl .widgettitle { text-align: right!important; direction: rtl !important; } @media only screen and (max-width: 989px) { .responsive #top #searchform { display: none !important; } .responsive #header_meta .sub_menu { min-width: auto; } .responsive #header_meta { display: block !important; } .responsive #header_meta .sub_menu { background: rgba(0, 0, 0, 0); padding-left: 0; padding-top: 0px; position: relative !important; } #header_meta { margin-bottom: 30px; } .responsive #top #header_meta .container { background: #0077b4; width: 100%; max-width: 100%; } .responsive .avia_wpml_language_switch { height: auto; } .responsive #top .sub_menu li { line-height: 30px; top: -8px; } } @media only screen and (max-width: 767px) { .responsive #header_meta { margin-bottom: 0; } #top ul.avia_wpml_language_switch li { top: 10px; } .responsive #top .sub_menu li { top: 0px; } .responsive #top .sub_menu a { top: 0; } }
Cheers!
IsmaelOctober 8, 2016 at 5:26 pm #696908Hi Ismael,
Thanks a lot for your very kind help, it works great now. Just it seems that 2 little issues left:
1- May I know if it is possible to align the WPML language texts in center intablet mode?
2- As I have illustrated in below image, WPML languages looks different in RTL mode (Persian/Farsi language). Any chance we could make them in center like the one shows in right side?
Regards,
SadeghOctober 10, 2016 at 1:21 pm #697287Hi,
try this code inside Quick CSS field:
@media only screen and (max-width: 1024px) and (min-width: 768px) { .av_secondary_right .sub_menu { right: 39%; }}
and adjust as needed.
Best regards,
AndyOctober 10, 2016 at 1:58 pm #697320Hey Andy,
Thanks for the code.
However, the problem with mobile mode in Farsi page + (RTL mode) is still remains.Regards,
SadeghOctober 10, 2016 at 5:26 pm #697485Hi,
use this inside your Farsi page:
#top .av_header_transparency #header_meta li { left: 27%; }
Best regards,
AndyOctober 16, 2016 at 7:50 am #699458Hi Andy,
Your code gets conflicted with the search bar, so I have removed it:
Regards,
Sadegh- This reply was modified 8 years ago by Sadegh.
October 17, 2016 at 12:44 pm #699923Hi,
this is what I see in table landscape mode:
English:
http://smrtshot.com/i/RlzLFarsi:
http://smrtshot.com/i/RzOJThey seem the same to me, so it seems fine to me now. Could you fix it already?
Best regards,
AndyOctober 17, 2016 at 12:51 pm #699931Hey Andy,
Uh, if you remember, the problem was with the mobile mode in Farsi pages. As I have already illustrated it in an image:
=
P.S> The last code you were kindly wrote for me (below code) didn’t work and caused a problem (I showed that in the image).#top .av_header_transparency #header_meta li { left: 27%; }
=Regards,
SadeghOctober 17, 2016 at 1:00 pm #699945Hi,
then use my code and add some media queries into, so it will work on mobile only:
@media only screen and (max-width: 767px) { #top .av_header_transparency #header_meta li { left: 27%; }}
Adjust as needed.
Best regards,
AndyOctober 17, 2016 at 1:08 pm #699950Hey Andy,
Thank you however, it works only for the homepage, it doesn’t seems to be affected on the other pages in Farsi (in mobile mode).
Cheers,
SadeghOctober 18, 2016 at 11:00 pm #700934Hi,
add this as well:
@media only screen and (max-width: 767px) { ul.avia_wpml_language_switch.avia_wpml_language_switch_extra { margin-right: -100px !important; }}
Best regards,
AndyOctober 19, 2016 at 10:11 am #701092Hi Andy,
I think this thread gets too long. I will open another thread to solve the left issue :)
Thanks for your time
(you may now close the thread please)Regards,
SadeghOctober 19, 2016 at 1:51 pm #701295Hi,
alright. Thanks for this.
Best regards,
Andy -
AuthorPosts
- The topic ‘WPML doesn't show in mobile’ is closed to new replies.