UPDATED: This post refers to a site using a template. My current site is 90% hand-coded. The link below is valid but you won't see anything discussed in my comments there. A while back, I was 'playing' with the Steel template and wanted to make the the timer text display a little wider. Now that I'm working on the Leuven template, I looked for the same 'fix'. I told you, I'm stubborn! "Blockheaded" is more the term SWMBO uses...
I searched for a couple of hours before thinking that the Leuven template actually uses parts of the Steel template. I should have realized how familiar those gauges looked!
That finally allowed me to start searching for a slightly different term, in the /weather2/gauges/scripts/wsGauges.js, which I think is similar to the file I edited in the Steel template. At any rate, I now have a wider 'canvas' displayed with the count down timer showing both digits of the number!
I also edited line 40 in weather2/gauges/gauges.php in the above process, but the following had no affect, at least in what was being displayed
original line 40: <canvas id="canvas_timer" width="50" height="25"></canvas>
my non-working edit: <canvas id="canvas_timer" width="100" height="25"></canvas>
I guess my question is when does that code actually affect the width of the count down timer? With enough testing, I can probably find out, but I'm after a bigger 'fish' right now.
It's still a work-in-progress! I'm now going to concentrate on getting the local 'thunder' and 'rain' maps to display instead of the Europe and NW US maps. Line 41 of weather2/wsSettings.php still has:
$SITE['region'] = 'america'; // #####
I think that is the default value in the latest download (2.6g). However, that is obviously being modified somewhere else.
TEMPORARY SITE: <
mid-southweather.com>
Other current problems:
Clicking the "LED" when the refresh limits have been reached doesn't work. This may be the $SITE['autoRefresh'] value. OTOH, the countdown timer seems to be refreshing the data, if not the whole page.
UV info appears: my settings in wsSettingsWeather.php:
$SITE['UV'] = false; // ##### set to false if no UV sensor
$SITE['SOLAR'] = false; // ##### set to false if no Solar sensor
Later...