By Roman Lipatov on Saturday, 12 February 2022
Posted in General Issues
Replies 4
Likes 0
Views 710
Votes 0
Hello!
I have 2 sites.
https://2apk.mobi - with EB5
https://biblsoft.ru/wiki - with EB6

Both sites use Wireframe theme.

Ok.

This is how looks EB5 category on desktop:


This is how looks EB6 category on desktop:


It's ok.

This is how looks EB5 category on iPAD:


it's ok.

And this is how looks EB6 category on iPAD:


It's NOT ok.

It seems EB6 use php mobile detect instead responsive css.

Where I can disable it or change this behavior?

It's normal for mobile phones, but on tablets it looks ugly.
Hello,

Do you have customized the page? By right, the container should use `is-tablet` if viewed on the tablet.
·
Monday, 14 February 2022 10:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
Do you have customized the page? By right, the container should use `is-tablet` if viewed on the tablet.


Not clear...
What exactly should I do? to fix it?
Whey EB6 detecting this page as mobile instead tablet?
·
Monday, 14 February 2022 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
What my colleague means is, something is strange on your site the way it returns the user agent value is not the real one so caused this mobile/tablet detector is not working on the site.

To verify this, I've added a simple PHP file to your site (JoomlaRoot/useragent.php) what is the value it returns when you view it on the desktop/mobile/tablet:

If I view this page https://biblsoft.ru/useragent.php on the desktop, it will return a simple "Desktop" value only instead of the real agent data Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36 which contains the browser version and etc.

You can test to view this page https://biblsoft.ru/useragent.php on your tablet or mobile, it will always show Mobile(Iphone) even I view it on my Android phone.

Can you remember have you configured anything on your server or any plugin on the site to override the original user agent value from the header before?
·
Monday, 14 February 2022 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Also, can you try to turn off this kind of cache wsr-cache on your server and see how it goes?
·
Monday, 14 February 2022 17:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post