Author Topic: Need help with Saratoga page width adjustment - Steel Series Gauges  (Read 405 times)

0 Members and 1 Guest are viewing this topic.

Offline moungerzooWX

  • Member
  • *
  • Posts: 5
  • Serving the Denbigh area of Newport News, VA
    • The Mounger Zoo Weather Station
Greetings!

I've recently installed the Steel Series Gauges on my Saratoga template run web site and was wondering if anyone could take a look at the files.  I'm having problem with the formatting (left to right) so the gauges all fit uniformly on the page.

HTML file:
https://moungerzoo.com/weather/gauges-ss-basic.htm

PHP file:
https://moungerzoo.com/weather/wxssgauges.php

PHP file just needs the width increased I think, but I'm having trouble finding the means to do it.  Any help would be greatly appreciated.

Thanks!

The Mounger Zoo Weather Station
https://www.moungerzoo.com/weather
The Mounger Zoo Weather Station
Newport News, Virginia
https://moungerzoo.com/weather
NOAA: EW9556
WX Underground: KVANEWP021

Offline BrianLehan

  • Senior Member
  • **
  • Posts: 88
    • Grace C Lehan Memorial Weather Station
I never could get them laid out the way I liked them in the template and do full page like your html version does.

Brian
Davis Vantage Pro 2 plus
VWS 15x on Windows 7
Sarasota-Weather Template
Gr3 Radar

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 8356
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
With the stock templates, in the narrow view, only 2 gauges fit side by side.  In the wide view, the fitting is better.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline BrianLehan

  • Senior Member
  • **
  • Posts: 88
    • Grace C Lehan Memorial Weather Station
Thanks Ken for the explanation.

Brian
Davis Vantage Pro 2 plus
VWS 15x on Windows 7
Sarasota-Weather Template
Gr3 Radar

Offline moungerzooWX

  • Member
  • *
  • Posts: 5
  • Serving the Denbigh area of Newport News, VA
    • The Mounger Zoo Weather Station
I'm quite motivated by Woodbury, CT Weather.  They somehow got the width of the page widened to accommodate three gauges per line and the width is consistent across the other pages.

https://www.woodburyweather.com/gauges-ss.php

Just trying to find the primer.
The Mounger Zoo Weather Station
Newport News, Virginia
https://moungerzoo.com/weather
NOAA: EW9556
WX Underground: KVANEWP021

Offline BrianLehan

  • Senior Member
  • **
  • Posts: 88
    • Grace C Lehan Memorial Weather Station
Wow that is a real good fit.

Brian
« Last Edit: May 18, 2021, 07:24:16 PM by BrianLehan »
Davis Vantage Pro 2 plus
VWS 15x on Windows 7
Sarasota-Weather Template
Gr3 Radar

Offline moungerzooWX

  • Member
  • *
  • Posts: 5
  • Serving the Denbigh area of Newport News, VA
    • The Mounger Zoo Weather Station
I achieved some success after a good nights sleep and some coffee this morning.  I went into all of the weather-screen-(color)-narrow.css files for each color and changed the #page width to 875 vs. the default 800.  This adjustment accommodated the gauges three across.

#page {
        margin: 20px auto;
        color: black;
        background-color: #4A4A4A;
        padding: 0;
        width: 875px;
        border: 1px solid #959596;

However, the colors blue, salmon and silver will not adjust.  This leaves me only scratching my head even more.  Until I find a fix I will leave the default screen as weather-screen-taupe-narrow.css in Settings.php and disable the ability to change themes.

If anyone has any ideas about how to make the changes take affect on the blue, salmon and silver screens, I'd love to hear from you.  As for these wonderful Saratoga templates, donation will be coming shortly.

Best regards,
Scott

https://moungerzoo.com/weather
« Last Edit: May 19, 2021, 07:22:22 AM by moungerzoowx »
The Mounger Zoo Weather Station
Newport News, Virginia
https://moungerzoo.com/weather
NOAA: EW9556
WX Underground: KVANEWP021

Offline moungerzooWX

  • Member
  • *
  • Posts: 5
  • Serving the Denbigh area of Newport News, VA
    • The Mounger Zoo Weather Station
I was able to get the Blue, Salmon and Silver themes to adjust to 875.  I appreciate the responses!
The Mounger Zoo Weather Station
Newport News, Virginia
https://moungerzoo.com/weather
NOAA: EW9556
WX Underground: KVANEWP021

 

anything