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

XF 1.5 How to increase the line space of Thread and Post Contents?

Discussion in 'Styling and Customization Questions' started by akhilaniyan, Oct 4, 2015.

  1. akhilaniyan

    akhilaniyan Active Member

    Hi.

    Please tell me how can I increase the line space of threads and posts content?

    Thanks.
     
  2. Amaury

    Amaury Well-Known Member

    You'll need to be more specific as to what you're referring to.
     
  3. akhilaniyan

    akhilaniyan Active Member


    Thanks for the reply.

    [​IMG]

    I need to increase the space between lines.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Change the line height for the messageText class in EXTRA.css.
     
    Amaury likes this.
  5. rafass

    rafass Well-Known Member

    Add this in your EXTRA.css:
    Code:
    .messageText {
    line-height: 2;
    }
    originally the value is 1.4, just change it to suit, you can use decimals ie: 1.8
    if doesn't work add !important like:
    Code:
    .messageText {
    line-height: 1.8 !important;
    }
    Result:
    2.gif
     
    maszd and akhilaniyan like this.
  6. akhilaniyan

    akhilaniyan Active Member

    @rafass Thank you so much!

    It worked! 2.5 looks fine to me :)

    I really appreciate your helping attitude!
     
    rafass likes this.
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Fairly sure I said that...
     
    Amaury likes this.
  8. rafass

    rafass Well-Known Member

    You're welcome ;)
     
    akhilaniyan likes this.
  9. akhilaniyan

    akhilaniyan Active Member

    Hi.

    Is it possible to increase the line height in the post and thread editor while composing message?

    Thanks.
     

Share This Page