Closed (fixed)
Project:
Zen
Version:
6.x-2.0
Component:
CSS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2011 at 18:33 UTC
Updated:
22 Jun 2011 at 15:11 UTC
hi
i want to add additional sidebar to my zen based fixed 3 columns theme as an additional left sidebar
i added it to the theme info and print it in the page.tpl.php file but i didn't know how to configure it's css to make it look correct
my theme contains 4 columns like this
left sidebar 1 : 130px
left sidebar 2 : 240px
content : 490px
right sidebar : 130px
so the total width will be 990px
how can i do that ?
Comments
Comment #1
shruti.sheth commentedTo add an additional sidebar to custom zen
1. Add the following code in your page.tpl.php between the sidebar_first and sidebar_second
2. Add the region as follows in your .info file
3. Add the following code for css in your custom .css file
Comment #2
mbasfour commentedi tried this steps but it disable the hiding region when it's empty feature from the theme and i want this feature to stay active .
Comment #3
shruti.sheth commentedHello,
Can you please explain the problem in detail, like
1. What output is expected.
2. What output you actually get. (With the help of screenshots if possible.)
3.List the steps you perform before coming across this error.
Thanks,
Shruti
Comment #4
mbasfour commentedi followed the steps in your first comment but it makes the content region have fixed width even when there is no content in the
sidebars i want to hide the sidebars when there is no content in them
Comment #5
mbasfour commentedhi
i fixed this problem with some php coding in the theme page_preprocess function