partnerStations Block 3.0, MT 16.0
Android 7.0, Chrome 61.0.3, FF 56
The block scales correctly in the desktop page.
In a mobile page the block size is 100%. In the portrait view all text and most graphics are extremely small and unreadable without zoom. In the landscape view the text is larger and readable, but still much smaller than text in other blocks. All other blocks that I use in a mobile page scale correctly.
partnerStations Block Mobile Page Incorrect Scaling
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
The blocks are always set to scale to 100% of the column width, if a particular block does not scale well and is too small you need to put it in a wider column.
-
jmcafee
- Observer

- Posts: 22
- Joined: Fri Sep 08, 2017 5:01 am
- Location: West Linn, Oregon
- Station model: Davis Vantage Pro 2
- Software: Meteohub
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
Jachym,
There is only a single column spanning the entire page width. So your suggestion to put it in a wider column is not possible. I even put it in the footer, with the same result of incorrect scaling.
There is only a single column spanning the entire page width. So your suggestion to put it in a wider column is not possible. I even put it in the footer, with the same result of incorrect scaling.
-
jmcafee
- Observer

- Posts: 22
- Joined: Fri Sep 08, 2017 5:01 am
- Location: West Linn, Oregon
- Station model: Davis Vantage Pro 2
- Software: Meteohub
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
The block scales correctly with the following modification of the code:
mainMobile.php: comment out line 339 "font-size: 1.5vw;"
mainMobile.php: comment out line 339 "font-size: 1.5vw;"
- Jachym
- Site Admin

- Posts: 1686
- Joined: Fri Aug 18, 2017 10:12 pm
- Location: Brno, Czech Republic
- Station model: WH1080
- Software: Meteobridge
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
This is a relative statement.... the problem is that it works for you, but it would not work for other people. As mentioned in other threads, Ive experimented with this font size value many times and it always results in one person being happy and a different person with different browser and phone telling me I broke it... if the change you made works for you - great. But there is no point in making this change globally.
-
jmcafee
- Observer

- Posts: 22
- Joined: Fri Sep 08, 2017 5:01 am
- Location: West Linn, Oregon
- Station model: Davis Vantage Pro 2
- Software: Meteohub
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
With all due respect, Jachym, please look at this and tell me if it is readable in mobile browser (it is clearly different from other blocks): http://jsmcafee.com/mtemplate/sunriver/indexMobile.php
- John B
- Forecaster

- Posts: 211
- Joined: Sun Aug 20, 2017 11:59 pm
- Location: Blaxland, N.S.W., Australia
- Station model: La Crosse WS2355
- Software: Weather Display
- Contact:
Re: partnerStations Block Mobile Page Incorrect Scaling
jmcafee,
Undoubtedly you are not aware (and I'm not blaming you for that) but Jáchym cannot do as you request as he doesn't have a mobile system - nor do I for that matter.
Over time he has stated many times that the the mobile pages are not tested fully. He has also advised that Meteotemplate is not designed for mobile (or other small-screen devices) but that the files are provided and are open to users of the program to adapt/amend them to suit their own purpose. The caveat to that, though, is that any changes to those pages will necessitate the user re-writing their modifications should they be adopted.
I hope that clarifies things a bit for you.
John
Undoubtedly you are not aware (and I'm not blaming you for that) but Jáchym cannot do as you request as he doesn't have a mobile system - nor do I for that matter.
Over time he has stated many times that the the mobile pages are not tested fully. He has also advised that Meteotemplate is not designed for mobile (or other small-screen devices) but that the files are provided and are open to users of the program to adapt/amend them to suit their own purpose. The caveat to that, though, is that any changes to those pages will necessitate the user re-writing their modifications should they be adopted.
I hope that clarifies things a bit for you.
John