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!
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | mytheme.zip | 137.07 KB | danielhonrade |
| #5 | subtheme.zip | 134.16 KB | oshelot |
| screenshot.png | 125.21 KB | oshelot |
Comments
Comment #1
danielhonrade commentedHi,
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:
Comment #2
oshelot commentedHi 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
Comment #3
danielhonrade commentedWell, 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.
Comment #4
oshelot commentedI 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
Comment #5
oshelot commentedHere 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.
Comment #6
danielhonrade commentedHi,
I attached the fixed one.
I just used table, it's old school but it works... :D
Comment #7
danielhonrade commented