Author Topic: Help adjusting text color  (Read 678 times)

0 Members and 1 Guest are viewing this topic.

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Help adjusting text color
« on: December 30, 2020, 01:34:11 PM »
I recently updated the website with the updated scripts from Kens website. One of the pages was
           flyout-menu.php. whith the update I have lost my white text color on part of the flyout menu. Any help on where to adjust the text color would be appreciated.
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Help adjusting text color
« Reply #1 on: December 30, 2020, 01:54:22 PM »
Since you're defaulting to the blue theme, change flyout-menu.php
Code: [Select]
array('NAME' => 'blue',   'SHADE_IMAGE'=> 'flyout-shade-white.gif',  'BORDER_COLOR'=> 'black', 'LINK_COLOR'=> '#336699', 'LINK_BACKGROUND'=> 'white',   'HOVER_COLOR' => 'white', 'HOVER_BACKGROUND' => '#3173B1',), # blue
to
Code: [Select]
array('NAME' => 'blue',   'SHADE_IMAGE'=> 'flyout-shade-white.gif',  'BORDER_COLOR'=> 'black', 'LINK_COLOR'=> 'white', 'LINK_BACKGROUND'=> 'white',   'HOVER_COLOR' => 'white', 'HOVER_BACKGROUND' => '#3173B1',), # blue
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Help adjusting text color
« Reply #2 on: December 30, 2020, 02:19:39 PM »
Thanks Ken that did it. What would I change the border color to to have "no border color"? I put the word "no" in for the color and it works, but it does not pass CSS validation!
I figured it out. I put a zero in and it validates. Thanks again Ken!
« Last Edit: December 30, 2020, 02:53:39 PM by dasman »
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Help adjusting text color
« Reply #3 on: December 30, 2020, 02:59:44 PM »
try '#039' for BORDER_COLOR entry. -- sets it to the same as the background color
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline dasman

  • Forecaster
  • *****
  • Posts: 491
    • Wx Peotone
Re: Help adjusting text color
« Reply #4 on: December 30, 2020, 08:32:04 PM »
That did it Ken. Thank you for your help sir!
Dave Sommerfed
Peotone Illinois USA
CW7762, KILPEOT1
NWS COOP, CoCoRaHS, Spotter Network