Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Artur Korol
Layout templates strange formating
January 30, 2013 8:25 AM
Answer

Artur Korol

Rank: Junior Member

Posts: 91

Join Date: March 2, 2009

Recent Posts

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

Attachments: pagelayout.png (61.6k)
Maarten van Heiningen
RE: Layout templates strange formating
January 30, 2013 1:55 PM
Answer

Maarten van Heiningen

Rank: Regular Member

Posts: 173

Join Date: February 5, 2009

Recent Posts

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
Anonymous
RE: Layout templates strange formating
January 30, 2013 2:26 PM
Answer

Anonymous

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