Forums

Lines spacing in posts (13 posts)

  1. aksd
    Member
    Posted 6 years ago #

    hi, i have wordpress 2.1.2 installed and the default kubrick theme and i have a problem: the space between the lines in the post, is too big, double.. maybe :D
    can i modify a .php or something to solve this ?

    here is an image http://img262.imageshack.us/img262/972/untitledoh6.jpg

  2. Doodlebee
    Member
    Posted 6 years ago #

    It's the stylesheet, and we need a link to the site - not a screenshot. We need to see the site code and stylesheet to tell you what to change.

  3. Glenn Ansley
    Member
    Posted 6 years ago #

    doodlebee's right. The problem should be addressed in the stylesheet, but you may be able to hold the shift key down while hitting the return key to designate a line break rather than a new paragraph. Other than that, and without links, the best I can say is define your line spacing in the div that holds your posts (probably .narrowcolumn)

  4. Doodlebee
    Member
    Posted 6 years ago #

    Could be the P tag, too - we don't know what his settings are for those.

    Which is why we need a link to the site ;)

  5. Glenn Ansley
    Member
    Posted 6 years ago #

    ahhh... true.

  6. aksd
    Member
    Posted 6 years ago #

    the link to the site is in the screenshot :))
    http://404.z1.ro

  7. Glenn Ansley
    Member
    Posted 6 years ago #

    I had tried that. It times out. Sorry.

  8. aksd
    Member
    Posted 6 years ago #

  9. jackosh
    Member
    Posted 6 years ago #

    just modify line-height:; in your stylesheet!

  10. Doodlebee
    Member
    Posted 6 years ago #

    Yeah, the first link times out for me, too - and the second wants me to download a file....I don't really want to do that.

    Jack - if he doesn't *have* a line-height in the stylesheet, he won't know what to edit, and he obviously wouldn't know where to put it. The question is whether or not he has other stuff in his stylesheet that would affect this. Does he have more than one call to line height? Is it in a class? What?

    There's more specifics needed for this. Yeah, it might turn out to be that simple, but then again, it might not.

  11. Doodlebee
    Member
    Posted 6 years ago #

    Finally - it came up for me. Took forever.

    What you're seeing isn't line spacing. Youve got those three "words" separated by P tags. Meaning, they're all separate paragraphs. You're seeing the space between paragraphs.

    If you make each paragraph more than one line long, you'll see the line spacing.

  12. aksd
    Member
    Posted 6 years ago #

    yeah, you're right :D i should've said from the start that each line in the post is between <p> and </p> :D in the code. but why does it put them automatically ?

  13. Doodlebee
    Member
    Posted 6 years ago #

    So you don't have to. All you have to do is write your post. WP does it so you don't have to sit there and code the site yourself.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags