Switch Style on mobile detection

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Ideas Centre
Post Reply
Registered User
Posts: 106
Joined: Thu Apr 21, 2016 10:59 am

Switch Style on mobile detection

Post by testingground » Tue Feb 06, 2018 4:32 pm

Ok I know 3.1 is responsive but my main style is quite 'busy' and Id like a much simpler style when on a mobile device.
So it switches to the simple style on mobiles but normal style on desktop. Is this possible like it was on 3.0?


User avatar
Registered User
Posts: 1472
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs

Re: Switch Style on mobile detection

Post by canonknipser » Tue Feb 06, 2018 4:49 pm

It was not default in 3.0, you needed a modification for that. Mobile detection nowadays happen via css (window width), the only modification I remember did it afaik by browser agent detection with a quite long list of browser agents (but before you ask: I don't have a download source).
phpbb.de support team member
English is not my native language
New arrival - Extensions and scripts for phpBB
no support via PM or mail

User avatar
Community Team Member
Community Team Member
Posts: 2759
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: Switch Style on mobile detection

Post by HiFiKabin » Tue Feb 06, 2018 5:24 pm

I know its a style for 3.0.x (so obviously will not work on 3.1.x and 3.2.x) but it has a mobile detect switch which you may be able to integrate into your idea. Whether it will work or not I have no idea.

https://www.phpbb.com/customise/db/styl ... er_mobile/

Post Reply

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

Who is online

Users browsing this forum: JackEnox and 3 guests