Hi
I have a bare bones Drupal 7 site where I have the ninesixty (960 Grid System 7.x-1.0) installed. It works fine on the front page and any taxonomy page, but when on a node pages the sidebar divs get rendered outside the page div.
On front page and taxonomy pages:
On Node page:
Strange but true.
Alan
Comments
Comment #1
AlanAtLarge commentedOops, example code got removed. Here's another version
On front page and taxonomy pages:
Div Page
-----Div Main
-----Div Sidebar-left
-----Div Sidebar-right
Div end Page
On Node page:
Div Page
-----Div Main
Div end Page
Div Sidebar-left
Div Sidebar-right
Comment #2
omahmHave you a view using fields on the node page?
I had this but only because of an issue with views. The sidebar div would appear inside the #main div but once I switched to node output display it would appear outside, obviously a div wasn't closed by the view output.
Hope this helps.
Comment #3
AlanAtLarge commentedNo views on the site at all, I just started building it. It's a "right out of the box" D7 site, plus the theme and recipe module.
Alan
Comment #4
AlanAtLarge commentedWhat you said made me curious, because it looks like a div is not closed correctly. I think I tracked the problem to this line in the node.tpl.php:
print render($content);
When it's there, the page breaks as noted above. When I remove it the page and various node info renders correctly.
Something inside there is causing it, but I don't know how to look at it.
Alan
Comment #5
AlanAtLarge commentedMove to different project. This problem in related to the recipe module.
The same thing happens in Bartik.
Comment #6
jvandervort commentedDisable recipe and try it. I don't see anything like this happening. Which OS, browser, etc...
Is it a barebones recipe install?
Comment #7
jvandervort commentedI think I found it.
Committed.