Closed (won't fix)
Project:
Panels
Version:
6.x-3.9
Component:
Panel nodes
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2011 at 20:16 UTC
Updated:
18 Oct 2011 at 06:59 UTC
I have a panel in code with a threecol_25_50_25_stacked layout. If I change the widths in the exported code in networkpanel.pages_default.inc, it has no effect. Even after caches are cleared.
Do I have to do anything else besides change the width values? (to all equal 100)
'center' => array(
'type' => 'region',
'title' => 'Center',
'width' => '52.15353517350266',
'width_type' => '%',
'parent' => 'main-row',
),
'left' => array(
'type' => 'region',
'title' => 'Left',
'width' => '17.91350206847606',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
'right' => array(
'type' => 'region',
'title' => 'right',
'width' => '29.932962758021326',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
Comments
Comment #1
picxelplay commentedLet me revise my question:
I am working with a fluid 100% theme.
I have created a custom layout in Panels; it is based on threecol_25_50_25_stacked (First column is 25%, center is 50%, and last is 25%), and I created it for a 20/50/30 layout.
In the original threecol_25_50_25_stacked CSS file, the code is:
In my CSS for the custom layout, I changed the widths to 20%, 50%, 30%, respectively.
When I resize the browser window, and dragging it smaller, the first column gets overlapped with the center column. With all padding and margins unchanged, it should not do this, should it?
The original layout 25/50/25 does not do this. What am I missing?
Here is a breakdown of the themes I have tested:
Original 25/50/25 Stacked: overlaps
Custom 20/50/30 Stacked: overlaps
Original 25/50/25 Stacked: does not overlap
Custom 20/50/30 Stacked: overlaps
Original 25/50/25 Stacked: does not overlap
Custom 20/50/30 Stacked: overlaps
Original 25/50/25 Stacked: does not overlap
Custom 20/50/30 Stacked: overlaps
Original 25/50/25 Stacked: does not overlap
Custom 20/50/30 Stacked: overlaps
Original 25/50/25 Stacked Screenshot:
http://i.imgur.com/bUVTf.png
Custom 20/50/30 Stacked Screenshot:
http://i.imgur.com/BKUMG.png
I also put the panel that goes with this layout in code. Do the widths in the networkpanel.pages_default.inc file need to be changed? They don't seem do really do anything.
Comment #2
wolmi commentedI have the same problem with panel exported with features, any sugestion?
Comment #3
Letharion commentedThis problem seems to be concerned with css only, and not Panels, and as such I'm closing it.