留言板
Colors in layout template
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
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.
i create my layout template with eclipse. where should i add the css definition?
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,修改在12 年前。
RE: Colors in layout template
Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
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