WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change leading on one page. (6 posts)

  1. barbarapaster
    Member
    Posted 3 years ago #

    I needed to make my text smaller on one page so I used

    <span style="font-size: x-small;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ultricies varius mi, sit amet elementum mi semper nec. Aenean a nulla nec neque</span>

    The size is perfect but the leading (line spacing) remained the same. I kind of looks like it is double spaced now. Is there html code to change it? I don't want to start changing code. Just looking for a little html.

    Thanks

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

  3. eridout
    Member
    Posted 3 years ago #

    I had satisfactory results with line spacing using this
    <td style="font-size:125%;line-height:130%;text-align:left;">
    Although that was within an html table, I guess
    it would work as well within a paragraph tag, like this:
    <p style="line-height:130%;">put content here</p>
    You can find out more by Googling CSS coding.

  4. barbarapaster
    Member
    Posted 3 years ago #

    Thank you so much "eridout"!!!! That is all I needed -- line-height:150%. You would not believe how long I was googling leading, line spacing... Arg. Thanks, Appreciated.

  5. eridout
    Member
    Posted 3 years ago #

    BP, so glad it worked!

  6. henryatpull
    Member
    Posted 2 years ago #

    Hello,

    I am indenting a list with this code at the beginning of each line (here's the list:

    <p style="text-indent: 2em;">• Poor life choices</p>
    <p style="text-indent: 2em;">• Sense of powerlessness</p>
    <p style="text-indent: 2em;">• Feeling emotionally overwhelmed</p>
    <p style="text-indent: 2em;">• Feeling disconnected from yourself</p>
    <p style="text-indent: 2em;">• Depression and anxiety</p>

    which works fine except it increases the leading doubles

    the code from eridout (member)
    <td style="font-size:125%;line-height:130%;text-align:left;">
    works but not with the list.

    Can I do both?

    Thanks all you WordPress brainy-aches!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.