Line height in a single paragraph

  • Unknown's avatar

    I want to increase the line height (“leading,” as it used to be called) for one paragraph on one page, i.e., not generically but just in one instance. Is there an HTML code I can put at the start (and end, using </>) of the paragraph that will accomplish this?

  • Unknown's avatar

    Hi @komanoff,

    I want to increase the line height (“leading,” as it used to be called) for one paragraph on one page, i.e., not generically but just in one instance. Is there an HTML code I can put at the start (and end, using </>) of the paragraph that will accomplish this?

    Yes, you can surely achieve this. Follow the steps below and you should be good to go:

    1. In your site’s admin click on the pages in the left navigation sidebar.
    2. Once all the pages show up. Find the page you need to edit and click on edit.
    3. Once your page loads up in edit mode, you will need to toggle the view from Visual to HTML
    4. Thereafter, find the paragraph that you want to change the line-height for. Wrap it up in a <p> tag with a style attribute so that your paragraph looks something like below
    5. <p style="line-height: 22px;">This is the content of your paragraph.</p>

    That is it. Hope this helps :)

    Best Regards
    Sunil Chauhan

  • Unknown's avatar

    That is it, indeed. Exactly right, Sunil. Thank you so much. — Charles

  • The topic ‘Line height in a single paragraph’ is closed to new replies.