WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to add more line space in description (3 posts)

  1. Andy Clayton
    Member
    Posted 4 years ago #

    I have searched the forums and I am doing OKish with changing the template Lorem Ipsum 1.3 by Kasper Solberg to what I want, but I can't for the life of me find out where to change the line height in the two lined description.

    I have tried to insert it in here..

    .description {
      font-size:1.5em;
      margin: 25px 0 60px 0;
    	}

    But it doesn't work there.

    Is there someone who knows where it goes?

    Thanks

  2. ben.blodgett
    Member
    Posted 4 years ago #

    You are probably applying it to the wrong class - I cannot say for sure but you could try to add line

    .description p {line-height:18px;}

    I recommend downloading https://addons.mozilla.org/en-US/firefox/addon/60 for firefox and then selecting the css -view style information (ctrl-shift-y) and highlighting the area of text you are trying to change. The tool will tell you the element id/class and which css document and line it lives on. Makes it much easier to identify css styling.

  3. Andy Clayton
    Member
    Posted 4 years ago #

    Ben,

    Thankyou very much indeed for pointing out that addon for firefox. Good grief why didn't I find that years ago!

    It is going to make such a huge difference to me, all self taught and guessing and trying!

    The code did fit in the above, I think I must have left out the - between line and height. So this works..

    .description {
      font-size:1.5em;
      margin: 25px 0 60px 0;
      line-height:22px;
    	}

    Now I am off to play.. thanks

Topic Closed

This topic has been closed to new replies.

About this Topic