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

Yes, Discourse uses internal navigation, so the DOM will only be ready once.

@cpradio suggested a possible solution here:

3 Likes