[web2py] Re: sidebar : how to customize

2011-09-23 Thread Vineet
Thanks a lot. My issue is resolved with the help of your tips. Web2py's active community is one of its major plus points. Thanks again. :) --Vineet On Sep 23, 1:01 am, pbreit wrote: > Maybe you want to increase the width of "wrapper"? > > #wrapper {width: 900px;} > > If you use Chrome or Safari

[web2py] Re: sidebar : how to customize

2011-09-22 Thread pbreit
Maybe you want to increase the width of "wrapper"? #wrapper {width: 900px;} If you use Chrome or Safari (or Firebug on Firefox), right-click to "Inspect element". Then click on in the code listing. Over on the right, double-click on "900px" which will let you edit it and see the result immedi

[web2py] Re: sidebar : how to customize

2011-09-22 Thread DenesL
On Sep 22, 1:29 pm, Anthony wrote: > Got it. Note, because of the width_content variable, it appears you don't > actually have to edit #content in base.css -- setting the #content width is > handled by width_content in layout.html. To change the sidebar widths (the original question) you still

[web2py] Re: sidebar : how to customize

2011-09-22 Thread Anthony
Got it. Note, because of the width_content variable, it appears you don't actually have to edit #content in base.css -- setting the #content width is handled by width_content in layout.html. Anthony On Thursday, September 22, 2011 12:37:11 PM UTC-4, DenesL wrote: > > > Forgive my bad wording, I

[web2py] Re: sidebar : how to customize

2011-09-22 Thread DenesL
Forgive my bad wording, I meant to say it is not a variable that you would set somewhere (like left_sidebar_enabled) and expect it to have an effect, i.e. in the layout code there is no: globals().get('width_content', ...) On Sep 22, 10:18 am, Anthony wrote: > On Thursday, September 22, 2011 1

[web2py] Re: sidebar : how to customize

2011-09-22 Thread Anthony
On Thursday, September 22, 2011 10:01:29 AM UTC-4, DenesL wrote: > > > Note that width_content is not a real variable, it is just a comment > on what is going to happen when you change the sidebar settings and a > reminder to modify the base.css, in particular the #content under > #left_sidebar.

[web2py] Re: sidebar : how to customize

2011-09-22 Thread DenesL
In base.css, just change values for left_sidebar to what you need, e.g. width:10% and adjust #content values accordingly. About left_sidebar_enabled you can set it to True in the layout or just pass it back from your controller in the dict: return dict(..., left_sidebar_enabled = True) Note t

[web2py] Re: sidebar : how to customize

2011-09-22 Thread Vineet
Hm... I think I am referring to a different thing than what I meant to. I wish to decrease the width of white columns on the left & right sides. Is this called a sidebar or something else? I fiddled in many ways to adjust it, as mentioned in the OP, but couldn't fix it. Secondly, how to put

[web2py] Re: sidebar : how to customize

2011-09-21 Thread pbreit
I don't know what the implications are but you can adjust the left-sidebar width in base.css: #left_sidebar { width: 160px; float:left; display: none; }

[web2py] Re: sidebar : how to customize

2011-09-21 Thread Vineet
I have also modified code in layout.html left_sidebar_enabled = False alternatively, if left_sidebar_enabled and right_sidebar_enabled: width_content='10%' (not sure if this is the correct way) But it did not help. Any tip on this issue? ---Vineet On Sep 20, 7:51 pm, Vineet wrote: > I wish t