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

XF 1.1 Justified text alignment.

Discussion in 'XenForo Questions and Support' started by Daniel Bittar, Jun 13, 2012.

  1. Daniel Bittar

    Daniel Bittar Member

    Hi there people!

    Is there a way to get the text to be justified in a forum post?

    Thanks a lot,
    Daniel Bittar.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    I think adding this to EXTRA.css should do it:

    Code:
    .messageText
    {
    text-align:justify;
    }
    
     
  3. Daniel Bittar

    Daniel Bittar Member

    Thank you, but I would prefer the editor to show a justify button for users to use.
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    Oh, I see.

    In that case then it requires a custom BB Code to be created.

    I can make one for you, if you like, as an add-on and release it?
     
    ArnyVee likes this.
  5. Daniel Bittar

    Daniel Bittar Member

    Well, how much would it cost?
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    Nothing :)

    When I release it there'll be a donate button for anyone to use if they want but no obligation. I like helping people... (I do also like money, but that's not why I do it :D)
     
  7. Daniel Bittar

    Daniel Bittar Member

    Well, so if you can do it I would really appreciate it!

    Thank you very much!
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    Nearly there. As you can see, the justify bbcode is working... Now I want a button in the editor (Which can be tricky!)

    justify.PNG
     
  9. Daniel Bittar

    Daniel Bittar Member

    Well man, if you can get it working it will be great.
     
  10. Chris D

    Chris D XenForo Developer Staff Member

    zuardin and Daniel Bittar like this.
  11. Daniel Bittar

    Daniel Bittar Member

    Hi there! Well, I'll use it but for my users I´ll have to wait for the next version as most of them barely knows how to use the internet. Asking to type a tag will be too much for some of them. =P
     

Share This Page