Hello,
1) Provide us with WP Dashboard access to site where you used the code that I provided. Because we need to check why it does not work for you.
2) Do you want to change the colors also for the second site or just for the first one?
Regards