I have a quite simple question here yet I cant find any solution. How to change the font-family, font-size, etc of the text ‘No result Found’ in CListView? I was trying to change the css in zii/widget/asset/ but it does not worked.
I have a quite simple question here yet I cant find any solution. How to change the font-family, font-size, etc of the text ‘No result Found’ in CListView? I was trying to change the css in zii/widget/asset/ but it does not worked.
It’s a bad idea to change core/zii files. You may forget about this change (or other developer won’t know about it) and to get an unexpected result when upgrading framework version, thus overwriting changed files.
Take a look at cssFile property. With it you may point to your custom css file.
But I don’t see any fonts customization at zii/widgets/assets/styles.css anyway. Isn’t font influenced by your common css file changes?
the css element is
.empty
I suppose, it’s ‘itemsCssClass’ property.