Community

Adding css class to individual content i views?

Hey.

I want to ad a css class that makes a box around each individual content i views, and not around the whole view or the individual field. But around each teasers.

Lets sat i made a view of teasers of content, that showed 4 results.
Then there should be 4 boxes.

But when i make a css class for each field like title, the box is only showing around this specific field.

Then when i add the css class to the whole wiew, instead the box is around the whole view.

Can i make it so that the box is only around each content?

Thanks-

Comments

=-=

inspect the html of the rendered view. It is likely that you can utilize already existing classes with a compound definition that includes the teaser class