• Hi everyone,

    After creating a template for my site, I’ve noticed that there are large blank rectangles appearing between the header and the body and the body and the footer. I don’t see anywhere in my code where this could be happening. Here’s a link to my test site so you can see the problem…

    https://www.westranchtv.com/beta

    Anyone ever had this problem before?

    Thanks,
    Sean

Viewing 5 replies - 1 through 5 (of 5 total)
  • A quick 5 second look at the page source and I can see two line breaks, co-incidentally they are exactly where your gaps are.

    I think your problem is the HR/ tags between the header div and the content div, and then between the content and the footer… those tags take up vertical space, along with the line, so you might need to fix the padding on the CSS for those (or use something like a border-bottom/border-top style for those divs if you are trying to create lines)

    Thread Starter seanherron

    (@seanherron)

    Hey, thanks for the suggestions!

    I took out the HR tags and yet the black lines are still there…I don’t want there to be any lines at all (it should be one solid block). There’s no padding in the CSS at all so I have no clue why the spaces are there.

    Thanks,
    Sean

    Try setting the background image divs to display inline, they typically default to block.

    Thread Starter seanherron

    (@seanherron)

    Hey Meyithi,

    I tried that, as well, but it unfortunately didn’t do anything.

    Would having the source code for my theme help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Odd blank spaces appearing in template’ is closed to new replies.