WordPress.org

Support

Support » Themes and Templates » blank spacing on the top upon posting of new blog

blank spacing on the top upon posting of new blog

  • 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

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

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘blank spacing on the top upon posting of new blog’ is closed to new replies.
Skip to toolbar