Simple Staff List
[resolved] How to remove img placeholder in IE? (4 posts)

  1. broadwaydc
    Posted 3 years ago #

    For many of the staff members I don't have a picture, but for some I do. I've found that in IE9 I get a "ghost box" of where the image would go.

    Example: http://district10.org/w/district-phone-list/division-governors/

    (looks fine in FF or Chrome, not good in IE9)

    In my Staff List template, I do have an img call that looks like this:

    img class="staff-member-photo" src="[staff-photo-url]" width="90px" margin="5px";

    Even if I take the width command out, I get left with a little image placeholder in IE9.

    Can I get rid of this with CSS? I haven't found an answer yet and was hoping someone here could help! Thanks!


  2. brettshumaker
    Plugin Author

    Posted 3 years ago #

    I don't think you can get rid of it with CSS since that CSS would be applied to all staff members. What you could do, however, is design an image to upload for the staff members that you don't have a photo for. That way, when there's not a photo, nothing looks broken.

  3. broadwaydc
    Posted 3 years ago #

    That worked! Thank you for the idea.

  4. brettshumaker
    Plugin Author

    Posted 3 years ago #

    No problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Staff List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic