I simply want to theme the default CCK output; the font size, type, spacing, perhaps background etc but keep the "round corner lines" decorations and keep my info in groups and order/weight I set.

When using contemplate it doesn't follow the default. My groups are gone and it just has the fields seperately and out of order.

Comments

mooffie’s picture

Status: Active » Fixed

[...] the font size, type, spacing, perhaps background etc

So it seems CSS alone would be the best choice. I don't see a reason to bother with PHP/contemplate.

What you need is to find out the CSS classes that CCK assigns to the various DIVs in which it wraps your fields. Either do 'Views Source', use Firebug, or inspect the source code of theme_field().

For example, here's how to paint the 'field_age' field in red:

.field-field-age .field-item {
  color: red;
}
HelpDrupalHelpMe’s picture

Yes ,thank you I had already figured it out!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.