Simply didn't work for me however much I fiddled with the CSS.
I know you think this is descriptive.. It's simply not.. It's difficult to troubleshoot things reported as "broken" without seeing it "broken" to determine the problem.. That said a link to your store with the code you tried in place would help..
My Site - Zen Cart & WordPress integration specialist I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.