In this case add the code not in Global custom CSS area, but in custom CSS for Desktop (Theme Options > Theme custom CSS > Desktop).
Best Regards, 8Themes Team