I want to have a customized column width for certain column on my site. I am using view table. May I know how to go doing it? Thanks in advance.

[column 1] | [ column 2 ] | [column 3] | [ column 4 ]


rad_one’s picture

theming views howto's here

mjonesdinero’s picture

you could also update your css through is classes.. if you have a link of your issue i could create css for you using firebug..

Marc Jones Dinero
Drupal Web Developer/Themer
Promet Solutions, Inc.
1802 W. Berteau Ave., Unit 209
Chicago, IL 60613

Mobile: +63 9494906965
YIM: dinero_marc
Skype: mjonesdinero

Drupal Web Development
Online Marketing

Ananya MultiTech’s picture

i dont know whether u found your answer or not..
what I did was, I updated style.css file in themes//css folder. I just added simple class like :
.distri_column1 {width:15%;}
.distri_column2 {width:35%;}
.distri_column3 {width:25%;}
.distri_column4 {width:25%;}

And then configure each field/column in Views>Configure Field>Style Settings>Customize Field HTML = NONE and Create a CSS class>distri_column1 and refrsh your View. I know this is not 100% professional but quick approach...

Ananya MultiTech Private Limited.

ranelpadon’s picture

thanks Ananya MultiTech, your suggestion solved my problem. :)

francescosciamanna’s picture

It's worked for me too, thank you.

nellngun’s picture

.distri_column1 {width:15%;}
.distri_column2 .... etc