12 posts
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
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 sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says

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

Which browser are you using?

1141 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
P4tient says

This gap appears because of empty h6 tag.

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 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
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
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
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+4 more
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
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
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; }

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by