Author Topic: Background css not being applied to forecast.php and index.php since upgrading  (Read 279 times)

0 Members and 1 Guest are viewing this topic.

Offline uncle_bob

  • Member
  • *
  • Posts: 18
    • Conder Weather
Hi Ken and viewers
I've just switched to PW forecasting but now find that the dark background is not longer being applied to index.php and forecast.php.
Any ideas how to fix this?

Working properly:  http://cond.power.on.net/webcam.php
Non working: http://cond.power.on.net/index.php and http://cond.power.on.net/wxforecast.php

Thanks in advance.

Offline Jasiu

  • Forecaster
  • *****
  • Posts: 951
    • LexMAWeather
Not sure where, but some piece of javascript is applying a style attribute to the body tag on the pages where you see a white background.

Code: [Select]
style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; background-color:#FFFFFF"
I'd look at the js code associated with the forecast code.
https://lexmaweather.info
On Mastodon: @LexMAWeather@toot.community

 

anything