Let me preface by saying that I'm not a CSS expert, so if this seem naive please forgive.

I've made a fair amount of progress with a personal subtheme (basically a port of Black Piano to a 3 column layout based on OM).

As you can see you see in the screenshot, I'm trying to use a background image for the sidebars, but it won't extent down to the footer. I've tried using various 'height (max-height/auto/inherit/etc) ' settings in .region and #sidebar-* but nothing has worked.

Here's the CSS for the sidebar:

#sidebar-first { background: url("images/sidebar.png") repeat-y scroll 0 0 transparent;
                 color: #999999;
                 min-height: 450px;
                 
} 

The 'content' (#main) section starts with a min-height of 450px also. Its when you publishing content and extending this section that it becomes a problem.

If you would like more info please let me know.

Thx in advance!

CommentFileSizeAuthor
#6 mytheme.zip137.07 KBdanielhonrade
#5 subtheme.zip134.16 KBoshelot
screenshot.png125.21 KBoshelot

Comments

danielhonrade’s picture

Hi,

My quick answer to that is:

Ex.
#sidebar-first { float: left; width: 200px; margin-right: 0; }
#sidebar-second { float: right; width: 200px; margin-left: 0; }
#main { float: left; width: 500px; margin-left: 20px; }

You should see to it that the total width of #container is at least 940px or more:

oshelot’s picture

Hi Daniel,

The width of the #container is exactly 940px. Its the height of the sidebar that is the issue. I'm not overriding the 200/540/200 layout in om.css file. The sidebars are of the region class and the only value for them, in the base theme, is position:relative). So I guess my question would be how to extend .region all the way down to the footer?

Thx

danielhonrade’s picture

Well, I think the easiest way for me to help you is for you to send me the theme you're doing or is it online? like a dev site maybe, so I can check it.

oshelot’s picture

I can do that, I'm just using the pre-configured VM that you can download on here. Haven't deployed anything to my server yet.

I'll upload when I get home.

Thx

oshelot’s picture

StatusFileSize
new134.16 KB

Here ya go. Thanks for taking a look at it. Also, if I'm doing something fundamentally wrong when creating a sub-theme please let me know.

danielhonrade’s picture

StatusFileSize
new137.07 KB

Hi,

I attached the fixed one.
I just used table, it's old school but it works... :D

danielhonrade’s picture

Status: Active » Closed (fixed)