[Update: Problem is fixed, but without much knowledge of why. Technical team fired en masse. Details at bottom if you're a glutton for this kind of thing.]
—————
Apologies for going meta, but this is a call for any wordpress theme gurus or those with more technical knowledge than the Beijing Sounds staff (e.g. ex-presidents, pre-teens, Elmo): any idea why the main page sidebar has now migrated from its former position on the right side of the page down to the very very bottom, way below all the posts? This doesn’t seem to happen on the individual post page, only on the home page.
Much thanks for any ideas.
Befuddledly,
syz
(bjshengr <at> gmail and so on)
[UPDATE: (thanks, Klortho, for asking)
Sorry for not offering a picture to clarify, since this could be some weird browser issue too (although it looks this way for me in both IE and Firefox). The sidebar is supposed to appear at the top-right of both pages. It used to do this quite successfully but now on the home page gets pasted in way down at the bottom of the page.
Here's what I see on the home page: http://bjshengr.com/bjs

and here's what I see on the single post page

[Update two: as mentioned at the top, I figured out what makes the home page break. It's something about the Have you been abroad post. As soon as I move it off the front page (by controlling the number of posts allowed there) the sidebar reappears in its proper place. But if you look at the post on its own, the sidebar shows up just fine. Can't figure out what it is about that post that wreaks the havoc, but I'm happy to stay ignorant if the problem will just fade away.]

Add "Learn Chinese" to iGoogle
Comments 6
Can you be more explicit in the description of the problem? All I see at the very bottom is “RECENT POSTS”, but there definitely is a pretty-normal looking sidebar on the right side of the page. Is it that “RECENT POSTS” should be among the other sidebar widgets? Perhaps at the top of the sidebar?
Posted 11 Jun 2009 at 11:41 am ¶Hi Klortho, does the picture update above make it any clearer?
Posted 11 Jun 2009 at 12:25 pm ¶I don’t know how to fix it in Wordpress, but looking at your HTML, I see why there’s a difference between these two pages. On a blog page (good) it looks like this:
<div id=’wrapper’>
<!– main content, on the left –>
<div id=’container’>
<div id=’content’>
</div>
<!– all sidebar stuff –>
<div id=’primary’ class=’sidebar’>…</div> — home, about this post, …
<div id=’secondary’ class=’sidebar’>…</div> — interact, rss feeds, search
<div id=’primary’ class=’sidebar’>…</div> — what you’re hearing, warning, …
<div id=’secondary’ class=’sidebar’>…</div> — recent posts
<div id=’footer’>…</div>
</div>
<script ….
whereas on your main page (broken) you have
<div id=’wrapper’>
<div id=’container’>
<!– main content –>
<div id=’content’>
<!– all sidebar stuff –>
<div id=’primary’ class=’sidebar’>…</div>
<div id=’secondary’ class=’sidebar’>…</div>
<div id=’footer’>…</div>
</div>
<script …
</div>
You need to pull the sidebar stuff out of the <div id=’container’>, and it probably wouldn’t hurt to pull the <script> tags out of the <div id=’wrapper’>. In other words, pay close attention to the nesting.
Posted 11 Jun 2009 at 8:42 pm ¶HTH.
Hey Klortho, thanks for this — I think. The sinking feeling I got while staring at it was not unlike the dread I feel when facing a brand-new page of hanzi. I know that theoretically it’s possible that I can understand, but the proposition does not sit well with my congenitally slothful nature.
So imagine my glee when I discovered that there seems to be just one post that is breaking the main page (see update above). Until the next disaster, I plan to remain rudely ignorant.
But seriously thanks for the pointers.
Posted 11 Jun 2009 at 10:26 pm ¶Haha, np. Well, my admiration for you has doubled, that you can do all you do without being able to read HTML.
Posted 11 Jun 2009 at 11:19 pm ¶“Have you been abroad” looks fine to me in FireFox 3.0.11.
Posted 14 Jun 2009 at 12:37 pm ¶Post a Comment