Hello,
You need to edit the template file itself, 404.php
Navigate to Appearance > Editor and select the 404.php file.