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
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
Comment #1
blueblade commentedHow to customize panel2 layouts? how to change the column widths? anyone, please?
Comment #2
pisco23 commentedwhen you start, chose 'flexible layout' - there you can customize the widths etc to your hearts content.
Comment #3
merlinofchaos commentedThe 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.
Comment #4
blueblade commentedi finally figured it out =D
Thank you both!! Have a great weekend.
BB