Hi
Just a question. Which file do I have to edit to make the index page on the Saratoga template a bit widder.
I have tried the css files with some luck but want to make the middle section widder.
Have a look and see.
This file:
$ADBversion = 'ajax-dashboard.php - Version 1.34 - 03-Apr-2023 - Multilingual';
It sets the first part of the dashboard width to 632px and the table inside the first part to 620 on lines 422-423
<!-- start of ajax-dashboard.php -->
<div class="ajaxDashboard" style="width: 632px;">
<table width="620" border="0" cellpadding="2" cellspacing="1" style="border:solid; border-color: #CCCCCC;">
You have to set it to the width you want and then check the table <td> - - - -</td>
as some of them contain other tables
The second part, the aeris forecast, is also a table, the width is set at line 1055
<table width="620" border="0" cellpadding="3" cellspacing="3">
Succes,
Wim
Did you use the standard widescreen css for the main frame? You can select narrow or wide as default in Settings.
I use a width of 1250px. Here are my lines 429-431:
<!-- start of ajax-dashboard.php -->
<div class="ajaxDashboard" style="width: 1250px;">
<table width="1250" border="0" cellpadding="2" cellspacing="1" style="border:solid; border-color: #CCCCCC;">
Then the forecast section starting at line 1063 looks like:
<table width="1250" border="0" cellpadding="3" cellspacing="3">
<tr>
<td style="text-align: left" class="datahead"> <?php print $fcstorg; ?> <?php langtrans('Weather Forecast'); ?> - <?php langtrans('Outlook'); ?>: <?php echo $forecasttitles[0]; ?> & <?php echo $forecasttitles[1]; ?></td>
</tr>
<tr>
<td align="center">
<table width="1250" border="0" cellpadding="3" cellspacing="3">
<tr>
<td class="data1" style="width: 80px;font-size: 8pt;border: none;text-align: center" valign="middle" align="center"><strong><?php echo $forecasticons[0] . "</strong><br />" . $forecasttemp[0]; ?></td>
<td style="width: 504px;" class="data1"><?php print "<b>$fcstorg " . langtransstr('forecast') . ":</b> " . $forecasttext[0] . "<br />\n";
if ($fcstorg <> 'WXSIM' and isset($WXSIMtext[0]) ) {
print ' <b>WXSIM ' . langtransstr('forecast') . ':</b> ' . $WXSIMtext[0] . "<br/>\n";
}
?></td>
You line numbers probably don’t match mine exactly because I made some other modifications, but they are close. The result is here: https://wxdoc.info/
Thanks for this…almost there.
Now just got to find the files for the rest