Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi Guys,
I'm using the Pixture Reloaded 6.x-3.0 template, and I using both a panel-page override for both the nodes and for the front page. I currently have no blocks assigned to the right sidebar on my theme, yet it is not collapsing. I have nothing assigned to the Left Sidebar and that has collapsed perfectly.
Is there a process/option to auto collapse these? I am not seeing any. Is this on a template by template basis? If so, how come the left sidebar has collapsed?
Thanks in advance.
-Ben
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedBoth sidebars are designed to collapse normally, something is up.
Can't really tell without seeing the site, I'd just be guessing. I'd like to see it actually since I've had various reports about Panels not playing so well with this theme.
Comment #2
raiyne CreditAttribution: raiyne commentedThanks for taking a look:
**Removed**
I've left it so you can see the sidebar not collapsing. I've changed it to fixed width, if that helps.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedWell, thats not the themes sidebar - its the 3rd column of the Panel, afaik panels (of this type) do not collapse unused columns (not a module I have used very much). The un-collapsed panel column has a fixed width of 300px. This is in the Panels code and is nothing to do with the theme itself.
If you only want a 2 column panel then you can switch to a 2 col panel layout.
Comment #4
alexpottHaving a quick look at your site... on the front page the two columns are fixed to 300px... if you change them to have a percentage width in "Layout Settings" for the panel - and use a value of 50% then it should work for you.
Comment #5
raiyne CreditAttribution: raiyne commentedI totally forgot the panels were fixed, the panel layout was only 2 columns but I forgot I has switched them. Ugh little things, little things...sorry to bother you guys, but I'm glad this was my own idiocy.
-Ben
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedNot a problem, glad to help.