[newbie] Trouble adding script to dynamically change CSS values based on conditions

Great! Thanks for the answer.