WordPress.org

Ready to get started?Download WordPress

Forums

Custom Tables
[Plugin: custom tables] adjusting width of columns (3 posts)

  1. Brandee
    Member
    Posted 2 years ago #

    I am trying to control the width of table cells in my custom table. I created new classes for each cell, which I used in my table setup like so:

    <td class="plant_names">{proper_name}</td><td class="plant_names">{common_name}</td><td class="notes">{notes}</td><td class="plant_image">{image_name}</td>

    I then added the new classes to the custom tables css and tried setting widths for each class. When that didn't work, I added the classes to my theme css as well. Even after using !important, I can't seem to get my changes to take effect. How do I override column width?

    http://wordpress.org/extend/plugins/custom-tables/

  2. Stefan M.
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, try to add style="width: 33px !imporant;" directly in the td to test.
    Normally it should work, except the table has no definitions, Table has as standard 100%. Disable the table with aor set it to specific width.

    Regards
    Stefan

  3. asif.h.j
    Member
    Posted 2 years ago #

    Disable the table with aor set it to specific width?

    means what i m not getting it!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic