1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Profile Comments Edit

Discussion in 'XenForo Questions and Support' started by toodlez, Oct 21, 2011.

  1. toodlez

    toodlez Active Member

    Hi, I can't seem to find where in the templates to alter this..

    On your User Profile, when viewing comments on your page it is currently laid out this way:

    [avatar] (username) content of their post here

    I want to make the content of their post on your profile to go BELOW their username, is this possible while keeping the avatar located to the left?

    So it would be like this:
    [avatar] (username)
    ...............content of their post here.
     
  2. toodlez

    toodlez Active Member

    Anyone have an idea on this one? Been fiddling with different templates all day, doesn't seem to be the correct ones
     
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add this to EXTRA.css:

    Code:
    .profileContent .username
    {
    	display: block;
    }
    
    That will force a break after the username.
     
  4. toodlez

    toodlez Active Member

    That's awesome man..

    Curious, did that extra ONLY edit how it's displayed in those profile post comments? If so, how exactly does that work out?
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  6. toodlez

    toodlez Active Member

    Hey Jake, see the attached image screenshot..
    Any way we can fix this alignment (as seen in the top portion - Espar_igus) without losing the change you made previously? (as seen in the bottom portion jodeke)
    Screen shot 2011-11-22 at 5.21.38 PM.png
     
  7. toodlez

    toodlez Active Member

  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add these two definitions together. That will fix that side effect:

    Code:
    .profileContent .username
    {
    	display: block;
    }
    
    .profileContent .deleted .username
    {
    	display: inline;
    }
    
     
  9. toodlez

    toodlez Active Member

    Very nice, how about for "likes"
    When more than one person likes a profile comment it skips to multiple lines as well
     
  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Try this instead (remove the previous definitions):

    Code:
    .profileContent .poster
    {
    	display: block;
    }
    
     
  11. toodlez

    toodlez Active Member

    Fixed that "like" issue, along with issues within recent activity

    Thanks, Jake!
     

Share This Page