Jump to content

container disappears with comments turned on


pogapro

Recommended Posts

It's the oddest thing. I'm in the process of customizing a free WP template and have just realized that the container (and hence the container background image) runs for the tall grass when I turn comments on. Oddly enough, it works fine with the comments turned on when I'm logged in as administrator (and presumably would also work if I were logged in as another user); it's just when I log out but leave comments turned on that the container disappears and the CSS elements collapse

 

Could someone please tell me what obvious thing I am missing here and save me days of hit-and-miss troubleshooting?

 

I've created a test page and turned on the comments here (the other pages all have comments turned off so as to prevent the collapse):

http://potlachkanada.com/?page_id=178

 

Sincere thanks in advance.

Link to comment
Share on other sites

If you add "overflow:auto" to the #container, that may take care of it (it does in Firefox at least -- I'd check other browsers as well)

 

An impressively quick reply. Thanks! You're right: the container and its background image do pop back immediately, though the footer and the sidebar elements remain collapsed (in Firefox).

Link to comment
Share on other sites

You may have a missing closing div tag related to the comments/content section, I'm not really sure. What I do notice is that on this page:

 

http://potlachkanada.com/?page_id=178

 

The sidebar and the footer appear within the #content div.

 

On the other pages (http://potlachkanada.com/?page_id=91 for example) the #content div closes, and they appear after.

Link to comment
Share on other sites

You may have a missing closing div tag related to the comments/content section, I'm not really sure. What I do notice is that on this page:

 

http://potlachkanada.com/?page_id=178

 

The sidebar and the footer appear within the #content div.

 

On the other pages (http://potlachkanada.com/?page_id=91 for example) the #content div closes, and they appear after.

 

 

Thanks. Yeah, I notice that too. It looks like I inherited this issue with the original template. The glitch only appears when I require my users to be logged in and registered before the post comments. I ran the original template on a test site and it does the same thing. Blah.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...