Hello,
You’re welcome! Yes, the code can be added like this, or in the Global Custom CSS area only.
Regards