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

AlanAtLarge’s picture

Oops, 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

omahm’s picture

Have 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.

AlanAtLarge’s picture

Project: Recipe » NineSixty (960 Grid System)
Version: 7.x-1.0-alpha4 » 7.x-1.0

No 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

AlanAtLarge’s picture

What 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

AlanAtLarge’s picture

Project: NineSixty (960 Grid System) » Recipe
Version: 7.x-1.0 » 7.x-1.0-alpha4

Move to different project. This problem in related to the recipe module.
The same thing happens in Bartik.

jvandervort’s picture

Project: NineSixty (960 Grid System) » Recipe
Version: 7.x-1.0 » 7.x-1.0-alpha4

Disable recipe and try it. I don't see anything like this happening. Which OS, browser, etc...
Is it a barebones recipe install?

jvandervort’s picture

Status: Active » Fixed

I think I found it.
Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.