Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Artur Korol
Layout templates strange formating
30. Januar 2013 08:25
Antwort

Artur Korol

Rang: Junior Member

Nachrichten: 91

Eintrittsdatum: 2. März 2009

Neue Beiträge

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.
Anhang

Anhänge: pagelayout.png (61,6k)
Maarten van Heiningen
RE: Layout templates strange formating
30. Januar 2013 13:55
Antwort

Maarten van Heiningen

Rang: Regular Member

Nachrichten: 173

Eintrittsdatum: 5. Februar 2009

Neue Beiträge

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
Anonym
RE: Layout templates strange formating
30. Januar 2013 14:26
Antwort

Anonym

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