Does anyone know of a recipe to create custom panel sizes? I have looked around drupal.org, but so far have come up empty handed. I know it can't be that hard, i just haven't figured out how to do it.

Thanks

Comments

Nathan005’s picture

its really easy... in the panel you can load a custom .css file. if you don't specify it loads the default automatically. All you have to do is change the panel's definition that you want to change. For example below is the default for a 2 column layout. all you would have to do is change the 2 50%'s to 25% and 75% and you would have created a custom panel size

.panel-2col { 
  overflow: hidden; 
}

.panel-2col div div { 
   margin: .5em;
}

.panel-2col .panel-col-first { 
   float: left; 
   width: 50%; 
}

.panel-2col .panel-col-last { 
   float: left;
   width: 50%; 
}

.panel-clearer {
   clear: both;
}
catch’s picture

Status: Active » Closed (fixed)

Closing this. Was always possible, now even easier.