Needs work
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
table style
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Sep 2011 at 06:37 UTC
Updated:
18 Apr 2014 at 05:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerHere is a patch which solves this issue
Comment #2
dawehnerThis issue probably needs some testing
Comment #3
dawehnerAn unneeded space.
It would be kind of cool if you could test the patch.
Comment #4
johan2 commentedHi,
I was struggling with this fields also, whatever css I added it didn't work. You noticed that the cause was the combined column...
So I tested your patch in an OM subtheme and now it works. I was looking everywhere what went wrong, so thank you for this patch.
with friendly regards, Johan
Comment #5
johan2 commentedHi,
I tested further and noticed that the fields first didn't apply any css from the field settings (with a table view). With the patch the styles are working but... Now I can apply a css but these are all combined. Even more strange is that the first field in the collumn keeps the default styles, from the second field in the collumn the styles are applied but combined, so they override each other. Strange ;-)
Comment #6
tim.plunkettFixing tag.
Comment #7
ronino commentedFor me, the patch from #1 adds the field wrapper classes to the td containing the fields, but not to the field wrappers themselves which is what I would expect. So for me, this doesn't work. But I don't have a different solution either...
Comment #8
Renee S commentedComment #9
Renee S commentedI think the suggested solution here is ideal: #1368436: Customize field HTML css class with multiple fields in a column
Comment #10
end user commentedI'm using the latest dev and the patch seems to have worked for me. Before that figured out I could set the Rewrite the output of this field settings to do the same thing but this is much better.