WordPress.org

Ready to get started?Download WordPress

Forums

blank spacing on the top upon posting of new blog (3 posts)

  1. harold24
    Member
    Posted 6 years ago #

    can you help me we installed a wordpress on our site

    the problem is that when i add a new post to the blog the margin on the top becomes bigger please see it for yourself click here

    we have added a blogs its doing fine but once you go to side bars click on a link the display on changes it creates a spacing between the header and the content see the link click here

  2. StrangeAttractor
    Member
    Posted 6 years ago #

    the problem is that when i add a new post to the blog the margin on the top becomes bigger please see it for yourself click here

    Ok, that is a very messy stylesheet setup you have there, so I can't be certain, but I think the problem is here, in your style.css:

    #content {
      margin-top:-495px;
      border:1px solid #000000;
      padding-right:20px;
      padding-left:20px;
    
    }

    You have it set to pull the margin of your content 495 pixels up above where it would normally be! So naturally, it's flowing all over your header.

    Instead, try changing the value of margin-top to something like 15px (not NEGATIVE):

    margin-top: 15px;

    That will start it off just below the header.

  3. harold24
    Member
    Posted 6 years ago #

    thanks i applied what you said but it only decrease a bit not fully thats the reason why i used - negative i tested it in cross browsers it just don't really work that much

Topic Closed

This topic has been closed to new replies.

About this Topic