12 posts
  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
lucieintheskye says

I’m having an issue with the text pages of my theme, and I’m not really sure how to explain it in words, but if you go there, you can see what I mean: http://kandnphoto.com/?page_id=13 The top of the page has a white gap, which I’m thinking is some kind of min-height issue, but I’m not sure. If someone can point me in the right direction, that would be great!

Thank you ahead of time.

1950 posts Do the Needful
  • Has been a member for 4-5 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • United States
  • Has attended an Envato Live event
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
  • Contributed a Blog Post
  • Beta Tester
+6 more
JamiGibbs says

Checked in Chrome and FF and don’t see what you’re talking about.

Which browser are you using?

1141 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
KarmaThemes says

I’m having an issue with the text pages of my theme, and I’m not really sure how to explain it in words, but if you go there, you can see what I mean: http://kandnphoto.com/?page_id=13 The top of the page has a white gap, which I’m thinking is some kind of min-height issue, but I’m not sure. If someone can point me in the right direction, that would be great! Thank you ahead of time.

Hi lucie! If it’s a WordPress theme, I think this is the WordPress admin bar you find in WP 3 .1 – in that case, try to logg out of your wp-admin and it should be gone, so no worries, regular visitors of the page will not see it.

Kind regards,
GC

27 posts
  • Exclusive Author
  • Has been a member for 4-5 years
P4tient says

This gap appears because of empty h6 tag.

1950 posts Do the Needful
  • Has been a member for 4-5 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • United States
  • Has attended an Envato Live event
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
  • Contributed a Blog Post
  • Beta Tester
+6 more
JamiGibbs says

It looks like the theme is designed to have a page title and you have not assigned a title to the page yet which is causing the empty H6 tag.

12 posts
  • Bought between 1 and 9 items
  • Has been a member for 3-4 years
lucieintheskye says

Hmm… I deleted the H6 tag, but I’m still having the problem? But yes, P4tient has the problem marked correctly in the screen cap… I am using Firefox, but it also shows up in Chrome and IE8 . Any suggestions on what else would cause this?

Thank you to everyone for your help!!!

441 posts
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 4-5 years
  • Envato Studio (Microlancer) Beta Tester
  • Beta Tester
  • Bought between 50 and 99 items
  • Referred between 10 and 49 users
  • Australia
  • Most Wanted Bounty Winner
pixelnourish says

There’s quite a few things wrong with it just from hunting for 2 minutes.

The main reason for your white gap is combination of the height of #header-top and the #page-title. I don’t understand why you don’t just put the following in:

#header-top {
border-bottom: 2px solid #e6e6e6;
}

and just scrap the empty <div id="page-title" />...?

But as for the rest, I don’t have a stack of time to explain everything, so here’s some in bullet form:

- There is no such thing as <float: center;>
- Not sure why, but you have a <div id="menu" /> with a <div class="menu" /> and a blank <ul /> inside it. This is a waste of code. I would suggest <ul id="menu" /> – easy :)
- You have an unordered list (“What you get with the … package”) but you have it as a paragraph with forced breaks. This seems silly to me.
- You have a float on the #footer-container which I’m certain is probably causing IE issues, as the other “main” div’s don’t have floats. This is making your site not clear properly.

Hope that helps in some way :)

Edit – Gah, bullet points, lists and other things don’t work properly in the forums. :( So I scrapped the bullet points.

27 posts
  • Exclusive Author
  • Has been a member for 4-5 years
P4tient says

Oops, i was wrong about h6 tag — it is not the cause of that gap.

Seems like the actual problem is with first-child p margin-top:

Appending “overflow: auto;” to #content-container fixes the problem.

The better way — append class “clearfix” to that ^ div, and add this css to your style.css:
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
by
by
by
by
by
by