Closed (fixed)
Project:
Zen
Version:
6.x-2.0
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2011 at 20:57 UTC
Updated:
21 Aug 2013 at 09:41 UTC
Hi all!
I need layout with two fixed-width sidebars and fluid content. Anyone have this css for Zen theme? I tried googling, but nothing founded :(
Comments
Comment #1
shruti.sheth commentedHello,
1. Make the width of first sidebar and second sidebar width 20%
2. Make three different blocks of content for which different width is required
3. Goto admin/build/block
4. Keep the three blocks in content-top, content-bottom and content-area i.e the content region of content types
Add the following css code in your custom .css file
5. Give appropriate width to all the three content regions as per the requirements
Comment #2
hswong3i commentedI would like to refer my #1085480: Add optional layout-fluid.css reference to STARTERKIT? as your reference.
Comment #3
shruti.sheth commentedHello,
The reference given as #1085480: Add optional layout-fluid.css reference to STARTERKIT? is useful to change the entire layout and to make the layout fluid for different types like
- no sidebars
- one sidebar
- two sidebars
etc
But here what is requested is to make the content fluid which can be done by making sidebars fixed and applying css to content but layout.
Thanks
Shruti
Comment #4
hswong3i commented@shruti.sheth: How can this be done with following codes, when sidebars are define in % but it is display in fixed width?
Please kindly correct me.
Comment #5
shruti.sheth commentedHello,
My purpose is to tell the site administrator to make the sidebar width fixed by giving custom css to it
i.e. to give fixed width whatever required to sidebars and after that give the variable width to the content blocks as required.
So the content can vary in width but the sidebar width remains same throughout.
Thanks
Shruti.
Comment #6
johnalbin