Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Artur Korol
Layout templates strange formating
30 de Janeiro de 2013 08:25
Resposta

Artur Korol

Ranking: Junior Member

Mensagens: 95

Data de entrada: 2 de Março de 2009

Mensagens recentes

We have developed 6 custom layout templates. Problem is dialog box when we can choose layout template. See include screenshot, custom layouts are NOT grouped properly (3 in a row).

I have commented some standard layout templates to limit number of templates available - but this not helped.
Anexo

Anexos: pagelayout.png (61,6k)
Maarten van Heiningen
RE: Layout templates strange formating
30 de Janeiro de 2013 13:55
Resposta

Maarten van Heiningen

Ranking: Regular Member

Mensagens: 173

Data de entrada: 5 de Fevereiro de 2009

Mensagens recentes

Hello Artur,

I don't think you need to worry about something as it's not you who is doing anything wrong.

The simple truth is that is a <div> section with 4 columns beside each other. In Liferay 6.1 it will look somewhat different but there it will be 3 columns.
The problem is that the css styling is a bit broken and thus your last column is not placed to the right of the previous column but under the rest and so it looks like this.

You could fix it by changing the with of these columns in you css of the theme.

Best,
Maarten
Anônimo
RE: Layout templates strange formating
30 de Janeiro de 2013 14:26
Resposta

Anônimo

It's because for some reason in the css

.webkit .aui-w1-3, .webkit .aui-w33 {
width: 33.345%;
}

if you change it to

.webkit .aui-w1-3, .webkit .aui-w33 {
width: 33.33%;
}

it will fix it