Support » Plugins and Hacks » EZ Staff List different cell widths.

  • Hi Luke
    Why does the widths of the table cells differ? I have set it to 2 columns and they are noticeably different.

    In my stylesheet I have added a class staff_list td and set the width to 295px and that seems to work.

    Checking the HTML code, the structure is not correct.

    <td colspan="1">
    <div class="staff_data">
    <div class="staff_name">Colin Crawford – </div>
    <p><img src="/wp-content/uploads/2012/11/colin-crawford.jpg" /></p>
    <div class="staff_about">Web Designer</p>
    <p>Email:<br />
    <a href=""></a></div>
    <div style="clear: both;">&nbsp;</div>

    Can you fix it or where is this generated from and I’ll have a look myself but I can’t find the right file.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello Colin,

    I did not want to set a forced width because the site layout is unknown for my plugin. The plugin does not know if it’ll be in a 1, 2 or 3 column layout, etc. I might put the option for setting a width in there for a near future release to accommodate for that.

    I do see what you are saying about the HTML markup, it appears to be an issue with the <p> element.

    After looking into the code, I’m not generating a <p> element at all. I believe this has to do with the wordpress auto generated <p> for the posts. I’ve tried to use:


    But that did not work on my local copy. I’ll continue to see if I can figure out a way around it.


    Hi Luke thanks for taking the time to having a look at my problems.

    How can we get rid of the hypen after the staff name?

    I’ve got an awkward customer and is finding fault with anything she finds.


    take a look at the file in the plugins directory. in there youll find a function called staff_list()

    if u need more help let me know and I can provide more detail when by my computer

    [ Signature moderated. ]

    Thanks Luke I found the line and removed the hyphen part.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘EZ Staff List different cell widths.’ is closed to new replies.