I have a content type that has a flexifield. I'd like to theme some of the flexifield fields (specifically, hiding some of them) but there are no CSS classes I can use...
For example, the Price field in my flexifield has a CSS class of form-item, but that doesn't help as all other fields have the same class. I'm wanting a CSS class to refer to all price fields in the flexifield, no matter how many time 'Add another item' is clicked (e.g. flexifield-flight-price or something)
Comments
Comment #1
Anonymous (not verified) commentedAnyone able to help with this?
Comment #2
MBroberg commentedCan you use Firebug and Firefox to identify more detail about your field? Such as,can you find an ID associated with it?
Are you using Views to produce your output?
Can you provide a link to your site so that we can look at the elements?
Comment #3
Anonymous (not verified) commentedI'm no longer using Flexifield, but from memory there was no way to specify all fields in different rows (i.e. when you click 'Add another item' you get the same fields but in a new row). I used Firebug but the only IDs that I could see were specific to each row (e.g. #flexifield-field-price-value-1).
Sorry I can't be more help, but as I said, I'm no longer using Flexifield.
Comment #4
imclean commentedThe ability to theme fields based on class would be very handy with flexifield. For example, using a flexifield for multiple addresses I'd like to theme the postcode field for every address row without having to enter a large number of IDs in the stylesheet.
I believe this is actually a CCK issue as flexifield uses existing CCK fields.