WordPress.org

Ready to get started?Download WordPress

Forums

Remove line break before post (6 posts)

  1. Murry
    Member
    Posted 9 years ago #

    Hi all again. Using Kub1.51 and not game to dig too far in the code.
    I would like to remove (sometimes)the linebreak between the heading of a post and the actual post extract. I presume I have to hack a file somewhere as its not(unless Im mistaken -again) in the css.
    By the way Podz and all gurus - Ive started extending Kudos on our site thanks for all help :)

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    It's very probably CSS that needs adjusting - got a link to a specific post ?

  3. moshu
    Member
    Posted 9 years ago #

    By "heading" you mean the title of a post? They are usually wrapped in a heading tag (h2, h3 etc.) and those by deafult cause line breaks.
    You might try
    h2 {
    display: inline;
    }

    or similar - depending on the heading you have... and yes, it is in the CSS :) But that would apply to ALL your h2 headings!

  4. Murry
    Member
    Posted 9 years ago #

    heheh- learning all the time - i think :)
    http://www.im-travel.net/home/index.php/category/business-directory/recreational/
    Ive used the pink to find where I am - Yes I mean the Post Title and its the line break after I wish to remove. But only some times eg to call a specific class?
    Umm - inline didnt do it
    Thanks

  5. Murry
    Member
    Posted 9 years ago #

    OK - After tolling through post all afternoon 8)
    For those that have the same problem with space ABOVE their post etc.
    Add this to your css file:
    p {
    margin-top: 0;
    }
    This takes away the linefeed ABOVE a paragraph which is the bit that P*** me off. So - Nice tight titles and posts now :)

  6. kd_tea
    Member
    Posted 8 years ago #

    sorry!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.