Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
table style
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 14:11 UTC
Updated:
23 Nov 2009 at 22:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerThis really dependent which field tpl you are using.
I have a view called test4
themes every field in the test4 view, but
themes a individual file.
Comment #2
pedrorestu commentedmmm ok, i see
so i can't change it directly in the css doc ?
Comment #3
dawehnerI don't really get what you are trying to do.
What do you mean with
Comment #4
pedrorestu commentedi need a table with 2 columns, lets call it "left column" and "right column"
in the "left column" i have an image. no problem with that.
in the "right column" i want 4 fields: user name, node title, node subtitle and node body
in my css y use to write something like this:
.view-ViewName .views-field-name {font-size:10px;}
.view-ViewName .views-field-title {font-size:14px; font-weight:bold;}
.view-ViewName .views-field-field-subtitle-value {color:#555555}
.view-ViewName .views-field-body {font-size:10px;}
which works perfect for me when i use grid style, or when my fields are in different columns using Table style.
I hope you can understand what i want, thanks a lot for you help.
pedro.
Comment #5
nodecode commentedPedro i'm trying to do the same thing, did you find a solution to theming individual fields which occupy the same column??
Comment #6
dawehnerTheme the individual fields seperate and add the divs/spans you need
Comment #7
nodecode commentedIs there any way to theme the views output to include the labels of those fields too?
Comment #8
dawehnerAre this fields cck fields?
Comment #9
nodecode commentedyes, they are cck fields.
I basically have a views-generated list of products (i'm using Ubercart) with the node title as one of the columns. Under the node title i have some CCK fields which contain some of the product specifications and ideally i want them to appear below the title, but smaller font size and in a list form, similar to what you might see on newegg.com
I am currently hacking it a bit by putting the CCK fields in the same column as the title and using
<br/> <b>·</b>as the separator for the fields. The result is what you see in the attached picture. However i want to also include the field labels and style them like on newegg.