Skip to:
Content
Pages
Categories
Search
Top
Bottom

Truncated usernames


  • bcrider
    Participant

    @bcrider

    Hello,

    I’m using WordPress 4.0 running the Valeni Theme.

    In my bbpress forum on the topic pages, usernames longer than 12 characters are being truncated.

    See example:

    Is there any way to prevent this?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

  • Robin W
    Moderator

    @robin-w

    Sorry, but splitboard.com is 14 characters long and looks complete, and without knowing what it should say, telling us that it is truncated doesn’t really help.

    I am struggling to know what your issue is?


    Robkk
    Moderator

    @robkk

    long characters are going to show up like this anyway

    splitboard.co
    m

    you could lower the font-size a little bit more with css to allow maybe 2-3 more characters
    but its still going to break the word apart if there is a certain amount of characters anyway

    you could add more width to div.reply-author
    maybe to about 150px

    add this anywhere where you can put custom css

    #bbpress-forums div.bbp-topic-author, 
    #bbpress-forums div.bbp-reply-author {
    width: 150px;
    }

    you also might have to add some @media query css too if i missed it.


    bcrider
    Participant

    @bcrider

    Thank you both for the help!

    I’m sorry it took a few days for me to check back in.

    Robin W, you’re correct. Technically long usernames like splitboard.com are not truncated, they’re just not fitting nicely in the author box.

    Robk, widening the box could help but since my current theme is non-responsive I don’t want to make the body of the forum posts any narrower.

    I think the best option may be to decrease the font size in this box. Can anyone advise how I can accomplish this?

    Looking at my current phpbb3 forum, it seems that is how they handle it.
    http://splitboard.com/talk/viewtopic.php?f=2&t=16976

    I really want to convert my forum of 6,0000 members and 125,000 posts to bbpress. I just need to work a few of these things out..

    Thank you!

    Chris


    Robkk
    Moderator

    @robkk

    i took this css right from bbpress.org

    add this anywhere you can add custom css
    if it doesnt work add !important to the end like this 12px!important;

    #bbpress-forums div.bbp-reply-author a.bbp-author-name, 
    #bbpress-forums div.bbp-topic-author a.bbp-author-name {
    clear: left;
    display: block;
    font-size: 12px;
    }

    the default size i think is usually 12px
    so either use that or go lower


    bcrider
    Participant

    @bcrider

    Awesome, thanks Robkk!

    It gave me the exclamation point error that said “Element (div.bb-reply-author) is overqualified. Just use the .bb-reply-author without element name”

    I’m not 100% sure what that means but ultimately it let me lower the font! So that’s great!

    Follow up question, is there anyway to bold the author name in that box?


    Robkk
    Moderator

    @robkk

    add to the existing code you are using.

    font-weight: bold;


    bcrider
    Participant

    @bcrider

    you rock!


    bcrider
    Participant

    @bcrider

    sorry! How about color?


    Robkk
    Moderator

    @robkk

    huh?? i thought i replied already..

    well its font-color: black;

    and just using color:black; works too

    any other CSS tips checkout the guides on styling bbPress in the docs

    Codex


    Robkk
    Moderator

    @robkk

    font-color: black;

    or

    color: black;

    more on styling bbPress

    Step by step guide to setting up a bbPress forum – part 2

    bbPress Styling Crib

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar