I am new to Drupal 7 views and I am really excited with the options that it provides.

My question is the following:
I managed to add a css style to each list element in the view.
Where should I place the css code that defines the style? Is there a way to add this directly through the interface, or should I place my code somewhere in my site? And if this is the case, where should this be, and how does it get linked to the page?

Comments

spovlot’s picture

Your CSS should go in the theme that you are using. Most themes have a styles.css or other CSS files that you can edit to add your styles.

See the Theming Guide for more information: http://drupal.org/documentation/theme

djv’s picture

Thank you for the reply. I did it and it works!

That said, it seems a bit odd to modify the theme of the entire site just to change the appearance of a specific view...