More details needed, please.
Which version of Moodle are you currently using? which visual theme? When you say "it seems to me that [...] this longer works", what to you mean? Have you actually tried the hack? In which file of your theme did you place the css changes?