Hi,

I am not sure if it's a bug. I have set up the content area from left to right: content - sidebar 1 - sidebar 2.

When I give the .content-region a padding of 5px sidebar 2 will end up below sidebar 1. In my understanding padding pushes the text inwards away from the border. So the border position remains the same. Yet it seems it pushes the border out, because there is no more room for sidebar 2.

You can work around it by making the zone static, but that leaves you with a none centred content area. And that just doesn't look very nice :)

CommentFileSizeAuthor
#1 block_problem.png50.34 KBbhosmer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bhosmer’s picture

FileSize
50.34 KB

I've got a similar issue when I try to add a border to the sidebar-regions:

#region-sidebar_first, #region-sidebar_second {
border: 1px black solid;
}

I also don't want to make the zone static since I like the sidebar-content-sidebar layout.

Am I missing something?

If I increase the size of the content-container though, the layout is possible:

#content-container {
width: 970px;
}
kunago’s picture

When you add padding or border, the content area gets larger than defined which in total exceeds the 960px width. To make the padding work, wrap your content region by another div in your template file.

fubhy’s picture

Status: Active » Closed (fixed)

... What kunago said.

bhosmer’s picture

I would think it might be something that should be accounted for within the base theme itself? How many people are really comfortable modifying their .tpl file?

fubhy’s picture

@bhosmer the 3.x version of Omega will have that in the .tpl file.

bhosmer’s picture

That would be very helpful and save a lot of time. I really really like this framework!