Hello,
The code should work from Theme Options > Custom css. Please clear cache and check one more time – https://prnt.sc/j0ldzl
Regards