• Resolved rogeratbing

    (@rogeratbing)


    Hi Brett, we’ve been a long-time user of your great plugin. I’ve run into a CSS display issue I can’t seem to figure out. In Safari, there is what appears to be some sort of inner border on the staff list on our site as shown on the linked page. Unfortunately many of the users don’t have images, so I want to hide the box if no image (using font/border color to match page BG). Those borders are hidden in Firefox, but I can’t figure out what is making the inner border show on Safari. Ideas?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    Hi Roger –
    I’m working on updating the plugin so it will only show a piece of data if it’s present for the staff member, but until then you can use this bit of css to hide images that don’t have a “src” attribute:

    .staff-member-photo[src=""] {
    display: none;
    }

    Let me know if that helps. Thanks!

    Thread Starter rogeratbing

    (@rogeratbing)

    Brett, you get 5 stars, again! Thanks!!

    Thread Starter rogeratbing

    (@rogeratbing)

    Hi Brett, this may be related. I need to add some staff photos to the directory, but when I click on any listings with or without photos, I can’t edit, see, or add them. There is no Featured Image area, and no Add Media button. I’m guessing the template shortcode is masking the Featured Image. Can you help on this too?

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Hi Roger – Not sure if that issue is coming from this plugin or not. Difficult to tell without being able to see the backend of the site. But if you’re running the latest version of the plugin, it’s declaring post-thumbnail support for the post type “staff-member” so you should be able to see/add/edit the featured image.

    One other thing to check is the “Screen Options” tab at the very top of the screen. The “Featured Image” box my have gotten unchecked there somehow.

    Hope that helps!

    Thread Starter rogeratbing

    (@rogeratbing)

    Thanks Brett! It was the theme, it was hiding the featured image code in backend. I added it back at end of functions.php and all good!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Safari staff photo inner border’ is closed to new replies.