Solved! When you code was added to Apperance > Customise > Extra CSS it did work.
(FYI: I added the code into a custom PHP plugin, so not to mess with the original PHP. But apparently that did not work. Also -adding your CSS to Theme Options > Custom CSS > Global Custom CSS did not work, only into the Extra CSS field… Strange. )