Support » Plugin: Gravity Forms Directory » [Plugin: Gravity Forms Directory] Set Column Width

Viewing 15 replies - 1 through 15 (of 16 total)
  • Anyone??? Please… Even if the answer is no. I have a client waiting for a listing to be added to their site.

    Plugin Author Zack Katz


    Use CSS to set width.

    At the moment CSS sets all the columns to the same width as there doesn’t seem to be any way to target individual columns. Is there a way to get different classes set on individual columns so a different width can be set for each column?

    At the moment in the table header all columns have a class of “manage-column”. In the body all the cells have a class of “text”. I was hoping I had missed a setting somewhere that would either add classes or set the width.

    There must be a way to assign some AddFilter thing to give each FormID it’s own CSS Class

    I ended up editing gravity-forms-addons.php and adding an id to the TH cell.

    <th id="gfa-col<?php echo $field_id ?>" scope="col" class="manage-column">

    I also added it to the jssearch line as well. Can you see any problem with this Zack? It would be great if this (or something similar) could be added to the plugin to aid in the styling.

    Thanks for the plugin Zack.

    A bit out of my expertise, unfortunately.
    I looked in the php file but was unable to find where or how to add/replace the CSS classes with the FormID.

    It’s a pity this plugin is so unsupported – great potential indeed.

    @rastarr I agree with you on the potential.

    As for the line numbers I think these should be pretty close. Change line 1457 to add the ID.
    <th id="gfa-col<?php echo $field_id ?>" scope="col" class="manage-column" onclick="Search...

    and line 1459 to
    <th id="gfa-col<?php echo $field_id ?>" scope="col" class="manage-column">

    and line 1461 also to
    <th id="gfa-col<?php echo $field_id ?>" scope="col" class="manage-column">

    This will ad IDs gfa-col1, gfa-col2 etc to the column headers which you will be able to style in style.css. I hope that helps.

    Thanks Darren.

    I was really after styling the <li> Classes.

    Any chance you know where they might be and coded?

    Plugin Author Zack Katz


    I’ll add IDs to the next release. Thanks for the idea.

    Thanks Zack!!



    Oh for sure. Thank you.
    It’ll allow the plugin much more power

    Plugin Author Zack Katz


    Coming very soon!

    I see field ID’s have been added. Can you clue me in how to structure CSS?

    Plugin Author Zack Katz


    Sorry, I don’t provide CSS support.

    Just looking for the ID/Class to use — is it in the form of #gf-col-(form ID)-(field ID)?

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin: Gravity Forms Directory] Set Column Width’ is closed to new replies.