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 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 <[email protected]> wrote:
> > 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.
> >
> > It appears to be a real variable -- it is used to set style_content:
> >
> > style_content = 'style="width: %s"' % width_content
> >
> > which is then used here:
> >
> > <div id="content" {{=XML(style_content)}} >
> >
> > Anthony