Spherical forums

General Discussion => Site Comments => Topic started by: Fat Cerberus on April 05, 2016, 04:07:42 pm

Title: Forum text too small on mobile
Post by: Fat Cerberus on April 05, 2016, 04:07:42 pm
Some of the text is fine, other text like the forum names are very tiny.  It's not bad on iOS but Android is practically unusable on any browser.  A screenshot from my Galaxy S5 is attached.

Compare the size of the forum names and descriptions to the text in the footer box.
Title: Re: Forum text too small on mobile
Post by: Flying Jester on April 05, 2016, 04:53:41 pm
Hmm, I never had this trouble on my Nexus 5 using Firefox.

But I also use the other forum theme. Maybe that will make a difference?
Title: Re: Forum text too small on mobile
Post by: Fat Cerberus on April 05, 2016, 06:20:59 pm
I just switched to the alternate theme and will try that for a bit, but damn, I feel like I just took a trip back in time to the early 2000s. :P
Title: Re: Forum text too small on mobile
Post by: Flying Jester on April 05, 2016, 06:57:19 pm
I like it, it reminds me of the old forums :)

It also makes it quite clear to me when I am and am not logged in.
Title: Re: Forum text too small on mobile
Post by: DaVince on April 05, 2016, 08:40:56 pm
To be honest, only one thing needs to be done to fix this: add the following line to the page:

Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1">


I've found that this tends to fix font sizing on mobile devices in general.
Title: Re: Forum text too small on mobile
Post by: N E O on April 05, 2016, 09:25:15 pm
You're probably right, and the irony here is that this would be a moot point if I had completed the custom forum theme sooner.
Title: Re: Forum text too small on mobile
Post by: Fat Cerberus on April 06, 2016, 12:25:14 am

To be honest, only one thing needs to be done to fix this: add the following line to the page:

Code: [Select]
<meta name="viewport" content="width=device-width, initial-scale=1">


I've found that this tends to fix font sizing on mobile devices in general.


What's weird is that changing the font size in Accessibility settings (I've tried this in both Chrome and Firefox for Android) affects some of the text, but the text that is too small doesn't change size at all regardless of the accessibility setting.  Changing to the old-style theme doesn't help the situation either, although rotating into landscape mode makes it a bit more tolerable (but using a phone in landscape mode is awkward, so... yeah)

On iOS there is also a discrepancy in size between post text and the forum descriptions, however the text remains readable regardless.  I think that's probably just that iOS has a better default font than the Android browsers, though.
Title: Re: Forum text too small on mobile
Post by: DaVince on April 06, 2016, 08:32:12 am
Yeah, font size adjustments are kinda dodgy/not very functional. It sometimes feels like changing/setting stuff like that in the browser actually works counter-intuitively... Once you tell a mobile phone that it's adjusted for mobile, it somehow magically seems to use a comfortable font size for most things.
Title: Re: Forum text too small on mobile
Post by: Fat Cerberus on June 02, 2017, 02:33:21 am
It seems like for some reason the forum name font size is totally fixed, while the footer scales properly.  If I tell the Samsung browser to zoom to 200%, the boxes get bigger but the text remains the same size.

Must be something with the CSS.  Also, iOS does a better job of rendering the forums in general than any Android browser, for whatever reason.
Title: Re: Forum text too small on mobile
Post by: Fat Cerberus on June 02, 2017, 02:35:56 am
Also I seem to have just repeated pretty much everything I said a year ago, hehe.  This is why necroposting is bad :P
Title: Re: Forum text too small on mobile
Post by: DaVince on June 02, 2017, 06:06:15 am
It´s still just a one line change. I actually have FTP access to this place now (because of the front page, which still isn´t finished), so lemme see if I don´t have a quick fix later today... :P
Title: Re: Forum text too small on mobile
Post by: DaVince on June 03, 2017, 10:46:25 am
All right, I made sure font sizes are consistent on phones now. It would take some more work to actually fit the site width (on the original theme anyway) onto a phone though.
Title: Re: Forum text too small on mobile
Post by: Fat Cerberus on June 03, 2017, 10:51:29 am
Huh, the page now loads way zoomed in, at least on iOS.  I used to open zoomed-out so you could see the whole page (albeit really tiny on an iPhone 7, hehe).  I also noticed if I refresh the page after loading it the text gets bigger.  Weird.
Title: Re: Forum text too small on mobile
Post by: DaVince on June 03, 2017, 11:00:11 am
Yeah, that's the effect of using initial-scale=1. I'll remove that bit as only width=device-width is necessary for not messing with the fonts.
Edit: done. As for making the site actually responsive... I'll give it a look soon.