Hello,
Please add that code incustom.css file not in default.custom.css and check again.
Regards, Robert Hall.