[TYPO3-templavoila] change class or background

Ron Hall ronslists at busynoggin.com
Mon Nov 3 03:44:35 CET 2008


Hello Styrmir,

You make the field for the color the type of "attribute" and editing  
type of "selector box." You will need to edit the DS XML so the  
selector box will have the values for your class names.

You then map this field to your div's  "class" attribute.

Ron Hall



On Nov 2, 2008, at 4:06 PM, Styrmir Magnússon wrote:

> Hello
>
> Can I use templaVoila to change background color of a <div> tag
>
> My template is like this
>
> <div class="group">
> <div class="middle-left">
> <div class="name">1st. group</div>
> <div class="date">23. - 29. july</div>
> <div class="age">12 - 15 years</div>
> </div>
>
> css file is like this
>
> .group {
> background-color:#ffcc00;
> }
>
> I want to have a drop down box in the FCE that I can use to change the
> background color of the div tag
>
> can I either change the first class to something else like say group1,
> group2, group3,...
> or
> change the background-color of the css either by using constants or
> affecting the css file
>
> I have read the Document for futuristic template building, chapter  
> 1.5.
> Miscellaneous but I don't understand how it works.
>
> Regards
> Styrmir
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-templavoila
>



More information about the TYPO3-project-templavoila mailing list