WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Bio Text Not Contained in Div

[Resolved] Bio Text Not Contained in Div

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi
    Forum Moderator

    @esmi

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    Plugin Author Brett Shumaker
    Member

    @brettshumaker

    This is definitely a CSS issue and not a problem with the plugin. I don’t mind helping you figure it out, though. I understand if the site is not live, but I can’t really help you until it is because I can’t actually see the HTML/CSS that is generating the page.

    MyHairWebsite
    Member

    @myhairwebsite

    Ok. I temporarily set the page to live. The link is below. Thanks!

    http://central.smithhousemedia.com/test-staff-page/

    Plugin Author Brett Shumaker
    Member

    @brettshumaker

    Thanks for doing that.

    It doesn’t look like you’re using the formatted template tags like: [staff-name-formatted] and [staff-bio-formatted]. So there are no HTML elements being wrapped around that text, and therefore, it’s not getting styled correctly. So you can either do something like: <h3>[staff-name]</h3> and <p>[staff-bio]</p> or just use the formatted template tags.

    Let me know if that helps.

    MyHairWebsite
    Member

    @myhairwebsite

    Hi

    Thank you for the quick response!

    I put in the template formatting tags. The headers became formatted. However, the bio text is still running off the page.

    Plugin Author Brett Shumaker
    Member

    @brettshumaker

    It looks like there’s a tag inside the Staff Loop template which is causing the text to be "pre-formatted." Remove this, and if you don't see it in there, then your theme is automatically wrapping the output of the Simple Staff Plugin in this tag for some reason.

    Use this CSS to fix:

    code p {
    white-space: normal;
    }

    MyHairWebsite
    Member

    @myhairwebsite

    That solved the problem. Thanks!

    Plugin Author Brett Shumaker
    Member

    @brettshumaker

    No problem!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Bio Text Not Contained in Div’ is closed to new replies.