• Resolved grohrman

    (@grohrman)


    On a directory page the top pic and info are correct, then it’s off by one.
    It worked fine for almost two years, then recently this happened.
    I deleted the page and tried again — same result. I have two other directory pages (based on groups) and they have the same issue.
    Also, there are faint horizontal lines appearing on the directory pages now.
    Simple Staff List v 2.2.1
    Elementor v 3.1.4
    Template code:

    [staff_loop]
    			<img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">
    			<div class="staff-member-info-wrap">
    				[staff-name-formatted]
    				[staff-position-formatted]
                                    [staff-phone] <br>
    				[staff-email-link]
    			</div>
    		[/staff_loop]

    Thanks for any ideas.
    Greg

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter grohrman

    (@grohrman)

    I modified the template and the CSS and got it cleaned up.
    Mark it “resolved”.

    I have the exact problems: Faint horizontal lines across the top of the page (disappear as scroll through staff) and two photos out of the 30 appearing in the wrong place (all others are where they belong).

    Page is https://www.impact100indy.org/about/board-of-directors/

    I have reloaded the default templates, and I have deleted the two photos and uploaded new ones to replace them.

    Any ideas what I need to do?

    Plugin Author Brett Shumaker

    (@brettshumaker)

    @beth8056 I think the default CSS coming from the plugin just isn’t working properly with your theme.

    If you remove the float: left; properties in the CSS for .staff-member-info-wrap and img.staff-member-photo, that will fix the problems you’re seeing. If you add margin-bottom: 2em; to div.staff-member, that will fix a spacing issue that exists with the default CSS.

    Hope this helps and let me know if you have any other questions.

    Making these changes fixed my problems. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pics/ data off by one’ is closed to new replies.