Hi,

I am trying to learn more about Panels 2. I would like to add a custom layout but have no idea where to start, can someone please give me some hints?
Thank you.

BB

Comments

blueblade’s picture

How to customize panel2 layouts? how to change the column widths? anyone, please?

pisco23’s picture

when you start, chose 'flexible layout' - there you can customize the widths etc to your hearts content.

merlinofchaos’s picture

Status: Active » Fixed

The existing layouts can't easily be customized, but you do have 3-4 options:

1) Copy the .tpl.php and .css files for the layout to your theme. You can customize them. That will change all instances of that layout.
2) Create a new layout using a module. You can copy an existing .inc file and change all the function names to match your new layout.
3) As said above, use the flexible layout.

blueblade’s picture

i finally figured it out =D
Thank you both!! Have a great weekend.
BB

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.