Hello,
If you use child theme add that code in style.css of your child theme.
Thank you. Regards, Eva Kemp.