What triggers responsive mobile format?

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Ideas Centre
Locked
gsmaclean
Registered User
Posts: 73
Joined: Sun Nov 06, 2005 12:13 am

What triggers responsive mobile format?

Post by gsmaclean »

What in the new PHPBB version triggers the board to select responsive formatting for mobile devices? I have iPad users who are telling me the site looks terrible. Testing on Chrome, emulating iPads, the site appears in mobile mode. But testing on an actual iPad, the site renders in non-mobile desktop mode, and I agree, it looks terrible. So what exactly is the code using to decide whether or not to format for a mobile device? Viewport size? User-agent string?
User avatar
david63
Registered User
Posts: 19054
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: What triggers responsive mobile format?

Post by david63 »

Two questions - which style are you using and if it is not prosilver then how does it look in prosilver?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
gsmaclean
Registered User
Posts: 73
Joined: Sun Nov 06, 2005 12:13 am

Re: What triggers responsive mobile format?

Post by gsmaclean »

I am using stock Prosilver.
gsmaclean
Registered User
Posts: 73
Joined: Sun Nov 06, 2005 12:13 am

Re: What triggers responsive mobile format?

Post by gsmaclean »

Nobody has an answer to this? I've still got quite a few iPad users complaining about the format of the site. I'll go digging through the code to figure it out if needed, but I'd prefer someone in the know just speak up.
Khaos-Rage
Registered User
Posts: 71
Joined: Sun Jul 13, 2008 4:31 am

Re: What triggers responsive mobile format?

Post by Khaos-Rage »

It's triggered by this line of code.

https://github.com/phpbb/phpbb/blob/3.1 ... r.html#L34
User avatar
Rahber
Former Team Member
Posts: 2720
Joined: Tue Feb 12, 2008 3:39 pm
Location: Pakistan
Name: Rahber
Contact:

Re: What triggers responsive mobile format?

Post by Rahber »

in short its triggered by width of the screen(browser)
Locked

Return to “[3.1.x] Styles Support & Discussion”