On Thu, 2010-04-15 at 21:22 -0500, Juan Pablo García wrote:
> Hello,
> 
> I'm again stranded with another question, this time from a friend of
> me who's working on Magnolia also.
> He has this idea about each section having a different background and
> paragraph colors.

I have seen something like that looong time ago (and not with STK) ...
still gives me the creeps just to think about it. The visual effect was
terrifying.

> So, when he arrives to the portal there's a color, when he switches to
> Section 1, all colors chance accordingly and so on.
> Is there any way he can do that with the current STK?

Currently default theme uses one main CSS where the colors are set.
However nothing stops you from having multiple CSS files with different
colors assigned to same classes/ids/elements and having the template
that chooses which CSS file to load smart enough to pick the correct
CSS. A
lternatively you can have your CSS written as "processed CSS" and
changing colors on the fly based on which parameter is the CSS loaded
with. In this case the template choosing CSS would always load the same
file, but with different params.

HTH,
Jan

> 
> Thanks again for all your help,
> 
> Juan Pablo García Hernández
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to