pogapro Posted February 17, 2010 Report Share Posted February 17, 2010 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. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 17, 2010 Report Share Posted February 17, 2010 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) Quote Link to comment Share on other sites More sharing options...
pogapro Posted February 17, 2010 Author Report Share Posted February 17, 2010 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). Quote Link to comment Share on other sites More sharing options...
falkencreative Posted February 17, 2010 Report Share Posted February 17, 2010 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. Quote Link to comment Share on other sites More sharing options...
pogapro Posted February 17, 2010 Author Report Share Posted February 17, 2010 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.