[resolved] Very simple CSS question - how to change the spacing between posts (5 posts)

  1. temporaris
    Posted 10 years ago #

    WP 1.5+ and default template is used.

    I've been fighting style.css for a few hours but could not find where to change the css code. Please give a hint at least where exactly I should look in style.css...

    I want to do a very simple thing: just to squeeze the posts in a way that there would be less space between the title, excerpt, postmetadata etc.

    Thanks a lot,

  2. jwurster
    Posted 10 years ago #

    When you are in WP Admin, go to Presentation and select Edit. Then select the style sheet which should already be selected. I think you need to look for ".post". Change margin information.

  3. temporaris
    Posted 10 years ago #

    Yes, this I found out already. However the gaps would be still too big even after modifying all ".post" ...:(

  4. niziol
    Posted 10 years ago #

    Tweaking just the .post styles will not be sufficient, as there are many other style parts to your posting:

    <div class="post" id="post-34">
    <h2><a href="http://www.e-verdict.com/pub-in-spac...
    <small>August 21st, 2005 by Administrator</small>
    <div class="entry">
    Ever had a dream to experience the space flight?
    Read the rest »
    <p class="postmetadata"> 1 Comment »

    You can see from the above snippet from you're site, that in addition to "post", you'll probably have to alter "entry", "postmetadata" and things like "madding", "margins" etc for any other element within the structure to get the look that you want. Basically, just back-up your style.css file and then through trial and error, get the spacing correct for your site.

    I'm sure if you woul go ahead and search for things like "Kubrick modification", "CSS tutorials" and what not, you'll find some information that will help you solve your problem.

    Good luck,

  5. temporaris
    Posted 10 years ago #

    All right, thanks niziol:)
    will try trial and error method:(

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.