Yes. This really isn’t a Yii question. It’s more of a general web question. The Yii part is just where the files are located. That’s good, because it means that any useful examples, etc. that you can find on CSS will apply.
Thank you but we would rather modify the default theme and not using the predesigned theme. I myself tried couple of them the they dont want me to use them.
I agree with them as if I learn how to modify each element I want, I would be more productive
Understand that “SOME” browsers won’t change the background color of buttons. the second example is off the top of my head, so the selector [type=‘button’] might not be the exact coding.
As for the two column thing: Do you mean to change the background of the sidebar? There is a section in the main.css for the sidebar.
#sidebar {
...
}
just change it there.
If you are talking about the whole background of the document page, then you need to add a style=‘background-color:green;’ attribute to the appropriate <div> to get what you want.
Happy coding. jk
p.s. A NitPik: the CSS files are generated by Yiic webapp XXX, instead of gii