Why my code change did not change the live site
Stored content overrides defaults, and other edge cases of data you do not ship
I changed the hero in code and production still showed the old text. The content store overrides the built-in defaults.
I changed the portfolio hero so the visitor's name leads. The tests passed and the deploy went green. The live page still said "Portfolio".
Why
Site copy is stored in a database and edited through the admin. Stored values override the defaults compiled into the code. My change updated the default; the override kept winning. The code was right and invisible.
Edge cases of the same family
Habit
Before closing a change, ask where the value actually comes from at runtime, and check it there.