yes, would need to post more info.

the CSS class is applied to the top element in the javascript control but the styling you want may need to be applied to child elements

in the browser debugger you can look at all the elements and the applied classes and how they cascade