WordPress.org

Support

Support » Themes and Templates » [Resolved] How to add more line space in description

[Resolved] How to add more line space in description

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to add more line space in description’ is closed to new replies.