Support » Themes and Templates » Very simple CSS question – how to change the spacing between posts

  • Resolved temporaris


    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,

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

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

    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=”…
    <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,

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Very simple CSS question – how to change the spacing between posts’ is closed to new replies.