Web Weather > Weather Website PHP/AJAX scripting
Text size error saratoga templates from mobile in desktop mode
CarlosLSev:
Hello, for some time I have observed that the Saratoga templates show erratic behavior with the size of the fonts when the website is viewed from a mobile phone, only from the mobile phone and it is something very random. I attach several images, the one ending in a is the correct one and the one ending in b shows the overflow of the text due to inappropriate font size. I have installed the template in meteoviso.es/webtest/m/ and I have managed to reproduce the problem. I only uploaded the template, CumulusMX plugin, meteotreviglio .gif images and the settings.php and setting-weather.php to customize. And the problem sometimes occurs. Does anyone know how to solve it?
I leave you 3 examples, although I can get more, today my page did not make me look strange, but the one I uploaded in the subfolder to test
Note that ajax-gizmo.php almost always overflows
[ You are not allowed to view attachments ] [ You are not allowed to view attachments ]
[ You are not allowed to view attachments ] [ You are not allowed to view attachments ]
[ You are not allowed to view attachments ] [ You are not allowed to view attachments ]
CarlosLSev:
Hello, yesterday my website did not behave badly, but today it always fails, I upload a video. Does anyone know how to fix it?
https://www.dropbox.com/scl/fi/7qmua6e0vtprgpgk6gf7l/Screenrecorder-2024-12-03-10-28-09-587.mp4?rlkey=93en7yy3q8zqfyc9v27vk5xfw&st=pwm3eynd&dl=0
saratogaWX:
The Saratoga templates were not designed (in 2004) for anything but desktop browsers, so they do not auto-adapt to mobile browser sizes. The large font with the alert at the top is likely due to some CSS/markup modifications on your site or vagaries to your phone's browser in handling the CSS .. the minimum width of a template in narrow mode is 800px.
R.Sidetrack:
--- Quote from: CarlosLSev on December 02, 2024, 08:16:57 AM ---Hello, for some time I have observed that the Saratoga templates show erratic behavior with the size of the fonts when the website is viewed from a mobile phone, only from the mobile phone and it is something very random.
--- End quote ---
Ken's reply noted the pages are formatted for PC style browser pages. One thing you can try is to change the way your phone displays the page. Tell your phone to stop trying to force the pages into a vertical phone format. See the screenshot attached.
The screenshot is using Firefox, on my Android phone, and viewing the WxForum. Click the 3 vertical dot menu button in the lower right corner of the screen to get the pop-up menu shown. Then choose "Desktop site" and slide the button to the right.
The screenshot is just an example, so go to the page that has the problem, and try it there. While my suggestion isn't going to actually change the page code, it should change how the phone displays the page. Most likely you will need to turn the phone sideways to view the page. This isn't a perfect solution, but you can decide if its better than what you have so far.
CarlosLSev:
Thanks, I'm going to try to touch the CSS, there must be some solution, the other thing is that I can find it.
I also tried putting desktop mode in the browser, the same thing happens.
Navigation
[0] Message Index
[#] Next page
Go to full version