RE: how can i create a custom template layout?

Jamie Sammons, modified 2 Years ago. New Member Post: 1 Join Date: 6/19/23 Recent Posts

Hello,

 

I need to create a new custom grid. 

In this specific case i must have a new grid that have the 60-40 ratio.

In the first part we have a fragment and in the second we have a portlet.

 

Can you help me?

 

Thank you in advance for your response

thumbnail
Olaf Kock, modified 2 Years ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

As grid offers 12 equally wide columns, you can go 2/3 - 1/3 (e.g. 67/33) with an 8+4 grid, or 58/42 (7+5), which should be visually reasonably close to not justify coming up with another grid geometry that would need to implement its own breakpoints for screen width adaptation.

Make your life easy, be 2% off, pick 58/42.

Put that standard grid into a container, and you can even save the combination with some default content as a separate fragment