Closed (fixed)
Project:
Zen
Version:
7.x-3.1
Component:
PHP/JS code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2011 at 16:47 UTC
Updated:
21 Aug 2013 at 14:23 UTC
Jump to comment: Most recent file
Comments
Comment #1
pmcgilvray commentedI am currently pushing this down with a top:266px; property, but I can see this being a problem with some pages.
Comment #2
shruti.sheth commentedHello,
The highlighted region is itself present in the content region, on the top part of it. So the second sidebar is actually to the right of the content region but if the block in the highlighted region has more width than the second sidebar seems to be to the right of the highlighted region.
If you want the second sidebar to the right of the main content then give the margin-top according to the requirement to 'region-sidebar-second' class.
Hope this helps!
Regards,
Shruti Sheth
Comment #3
komal.savla commentedHi,
The placement of the regions are incorrect, i.e The highlighted region is inside the content region and sidebar second region is outside the content region i.e the current html structure of the page is like this:
In your page.tpl.php put the highlighted region before the content region div and inside the main div . i.e the structure should look like this:
And then remove the top:266px; property from the following css
I am attaching the screenshot of modified html structure for your reference.
Thanks,
Komal
Comment #4
barrapontoComment #5
zer0ne commentedI'm pretty sure this is the same problem I am having so I thought I would consolidate my question here.
I wanted to put a block in the "Highlighted" region that was the with of the whole site and the content with the side-bars would be below. I made the changes suggested here, putting the highlighted region above the content, but when I did that, the navigation was positioned below the highlighted region. The navigation needs to be above the highlighted region. Now I'm trying to find out why the navigation is below the highlighted.
Anyone have this problem after moving the highlighted region above the content?
Comment #6
zer0ne commentedOK, that was easy. I just put the navigation region above where I put the highlighted region so it'd look like this:
-- Navigation region
-- Highlighted region
-- Content
-- Sidebar second
I made the changes in the page.tpl.php
The navigation region is originally in between the content and the sidebars. I'm starting to see that the navigation and sidebars were probably intentionally placed after the main content in the code for better SEO so I just needed to find a work around for that.
Comment #7
zer0ne commentedI'd actually like to put the navigation region back where it was below the content so I can keep the original intentions of placing it below the content region in the code. If anyone knows what CSS that needs to be tweaked to get this to work, I'd appreciate it.
Right now it's like this (page.tpl.php):
-- Navigation region
-- Highlighted region
-- Content
-- Sidebar second
But would like to have it like this:
-- Highlighted region
-- Content
-- Navigation region
-- Sidebar second
And have the navigation appear above the highlighted region on the frontend, as it was intended.
Comment #8
johnalbinclosing old support issues