Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Is there any way to adjust what size is considered a phone?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2014 - 12:44 pm

I use unified theme for phones, default for pc and tablets, I have a ipad and default theme looks fine in either direction, my wife has a kindle fire which is technically a tablet, but in reality isn't much more bigger than the some of the larger phones out there and the default doesn't look very good on it, was wondering if there was a way to adjust when the unified would kick in

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2014 - 1:09 pm

you could add media queries to the css (make your own theme) to adjust font size based on screen size...  look at the unified main css file and you will see this occurring already...

will look something like:

@media screen and (min-width: 641px) {

the min-width part is a check... if the screen size is >=640px the styles apply...  you can use max-width and logical operators too... google css3 media queries for more help...

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2014 - 1:11 pm

thanks MP, I will give it a shot

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 28, 2014 - 3:05 pm

The difficulty - by the way - is also a stupidity of the way the internet works. There is no information sent with an HTTP request as the actual physical size of the calling display. We may have a user agent sent but the size is not sent and the size, of course, would solve everyones problem with this sort of thing.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625