WordPress.org

Forums

TinyMCE Advanced
How do I change line spacing height please (6 posts)

  1. JenynGold
    Member
    Posted 1 year ago #

    I wanted to know if this plugin has standard button or HOW to change word text line spacing please?

    For example when sometimes using say a larger font choice you have added to text or a head line sometimes ends up where the words under each other almost touching and looking cramped .....so just need to know how one would add more spaces between sentences using this plugin?

    https://wordpress.org/plugins/tinymce-advanced/

  2. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 1 year ago #

    This is controlled by your theme's style.css. Edit it and set line-height: 1.5; for the elements you want bigger line spacing.

  3. jberazo
    Member
    Posted 8 months ago #

    Hi Andrew, is there a way to play with line spacing on single lines instead of targeting the theme in general?

  4. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 8 months ago #

    @jberazo not unless you wrap the single line in a SPAN tag. Then style="line-spacing: whatever can be added on that span.

  5. profitpad
    Member
    Posted 4 months ago #

    Andrew can you give an example of how to add a span with demo text and also tell where to add it ?

  6. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 4 months ago #

    For testing you can do that in the Text editor. Add paragraphs with inline styles, line by line:

    <p style="line-spacing: 2;">Text text...</p>
    
    <p style="line-spacing: 2.5;">More text...</p>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TinyMCE Advanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.