Fórum
Colors in layout template
lutz Bremen, modificado 12 Anos atrás.
Colors in layout template
Expert Postagens: 291 Data de Entrada: 20/10/11 Postagens Recentes
Hey guys is it possible to define a color for a special collumn?
like when i have 3 coluumns i want the right on e to be grey. whaere do i define this?
thanks for your tipps
like when i have 3 coluumns i want the right on e to be grey. whaere do i define this?
thanks for your tipps
Jignesh Vachhani, modificado 12 Anos atrás.
RE: Colors in layout template
Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
You can create proper CSS class which has grey background.
And you can apply that class when you create any new layout or change existing layout.
And you can apply that class when you create any new layout or change existing layout.
lutz Bremen, modificado 12 Anos atrás.
RE: Colors in layout template
Expert Postagens: 291 Data de Entrada: 20/10/11 Postagens Recentes
i create my layout template with eclipse. where should i add the css definition?
Anexos:
Jignesh Vachhani, modificado 12 Anos atrás.
RE: Colors in layout template
Liferay Master Postagens: 803 Data de Entrada: 10/03/08 Postagens Recentes
you can define CSS in theme.
And just apply that CSS class in your layout layout_25G_50W_25W.tpl file.
And just apply that CSS class in your layout layout_25G_50W_25W.tpl file.
Ravi Kumar Gupta, modificado 12 Anos atrás.
RE: Colors in layout template
Liferay Legend Postagens: 1302 Data de Entrada: 24/06/09 Postagens Recentes
Lutz, .tpl files are which contains our actual template. If you are writing a theme then its better to define those css rules in that theme. But if you have just simple background colors, you can directly use style attribute in html tags. Preferred is to define in theme though.
-Ravi
-Ravi
lutz Bremen, modificado 12 Anos atrás.
RE: Colors in layout template
Expert Postagens: 291 Data de Entrada: 20/10/11 Postagens Recentes
ok i just solved the problem thanks