-1

I'm creating a theme for Tumblr and locally everything works fine. Yet when I paste the code into the Tumblr editor and preview it on the site a blank space appears on the top of the page. I've looked through the css and cannot figure out why it's appearing. Any ideas I've tried everything.

Tumblr address is http://storyline-expose.tumblr.com password for it is WIP

Screenshot of the problem: Screenshot of the problem

Francisco Presencia
  • 8,732
  • 6
  • 46
  • 90
Carlos Perez
  • 122
  • 2
  • 12

2 Answers2

5

Add margin-top:0 to .blogTitle

Zach Saucier
  • 24,871
  • 12
  • 85
  • 147
2

The problem comes with the <h1 class = "blogTitle"> and is well described here:

Margin on child element moves parent element

Another solution (besides Zach's) is to set overflow of the parent element to 0:

.headCoverWrapper { overflow: auto; }
Community
  • 1
  • 1
Francisco Presencia
  • 8,732
  • 6
  • 46
  • 90