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

  1. Brandee
    Posted 3 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?


  2. Stefan M.
    Plugin Author

    Posted 3 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.


  3. asif.h.j
    Posted 3 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

  • Custom Tables
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic