[TYPO3-english] GIFBUILDER headings change on different content-element layout
Enrique Moreno Tent
enriquemorenotent at gmail.com
Thu Feb 24 12:35:05 CET 2011
Hello guys. Im writing my headings with GIFBUILDER like this, so they look
nice and white:
lib.stdheader.10 = IMAGE
lib.stdheader.10{
titleText.field = header
altText.field = header
fontTag >
file = GIFBUILDER
file {
XY = [10.w]+5,[10.h]+10
backColor = #EAEAEA
10 = TEXT
10{
text.field = header
offset = -2,20
align = center
niceText = 1
fontColor = #ffffff
fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
fontSize = 18
}
format = png
backColor = #aec924
transparentBackground = 1
transparentColor = #aec924
transparentColor.closest=1
}
}
But now I've gone and defined a new content-element layout, whitebox:
TCEFORM.tt_content.header_layout{
altLabels {
2 = white Box
1 = green Box
0 = Normal
}
}
and I want the Heading to have a black color, when the layout is white
box.... How can I do this? :S
More information about the TYPO3-english
mailing list