WordPress.org

Ready to get started?Download WordPress

Forums

How to remove this spacing (10 posts)

  1. Thunderdust
    Member
    Posted 7 years ago #

    Guys,

    I have this problem I can't figure out it's driving me crazy. between the .entry .post and .postmetadata is unexplainable spacing. How do I remove this ?

    An example can be found here (just made it clear with colors):

    url: http://www.brittanys-bod.net/

    As you can see, under and above the red box (which is post contents) is a blank space i can't seem to remove. I did not define any margins or padding or whatsoever. I've read some question by google but can't find the answer

    Help is appreciated :) thnx

  2. Sivar
    Member
    Posted 7 years ago #

    What happens when you assign margin:0 to the divs?

  3. Thunderdust
    Member
    Posted 7 years ago #

    The margin is already 0 on all divs. It is really strange since this is also present at the standard template of wordpress.

    Here is an idea of my css and index file

    http://www.brittanys-bod.net/css.txt
    http://www.brittanys-bod.net/index.txt

    Thnx for the help already

  4. Thunderdust
    Member
    Posted 7 years ago #

    I start editing my blog further, but here you can see the problem in a picture :)

    http://www.brittanys-bod.net/page.jpg

  5. whooami
    Member
    Posted 7 years ago #

    a picture doesnt help to fix it, and since youve changed what the original link now points to -- how bout we do this

    NOT SAFE FOR WORK

    In the future, a warning would be nice.

  6. Thunderdust
    Member
    Posted 7 years ago #

    Why ? I have posted the css file + the index file and an image to illustrate what the problem is ?

  7. whooami
    Member
    Posted 7 years ago #

    Because those of us that try to fix these sorts of things, dont typically remake sites -- we use firebug, or the web developer extension for firefox and change YOUR live code on the fly.

    Its easier for us. And since we spend a good deal of time answering these sorts of questions - easier is appreciated :)

  8. Thunderdust
    Member
    Posted 7 years ago #

    well, my appologies, I always thought you guys read the code and found the problem (that is how I do it)

    I install firebug (nice btw) And i'm still stuck at the same problem. If you now look at the page.

    http://www.brittanys-bot.net

    you'll see in firebug that there is a space between the title and post (which are located in content). I have no idea why that is since there are nog margins or whatsoever present.

  9. Thunderdust
    Member
    Posted 7 years ago #

    Dear god, this firebug is a gift from heaven :) i figured it out :) So many thank you's :P

    To give the answer, wordpress posts the text in the post area between <p></p> which means this give padding to the bottom and top.

    Making a <class> with classname p { and giving it 0 padding will solve this

  10. whooami
    Member
    Posted 7 years ago #

    youre welcome.. web dev is also great

    http://chrispederick.com/work/web-developer/

Topic Closed

This topic has been closed to new replies.

About this Topic