So after attempting to set the margin of .panel-2col-stacked to 0px for awhile and failing, I discovered that panels is somehow managing to get its stylesheet loaded after my stylesheet. I found a work around here, but this feels like a bug to me, since all the other modules I've got installed put their stylesheets before my theme's stylesheet.

CommentFileSizeAuthor
#5 joo2joo-small.jpg67.86 KBgsh2000

Comments

merlinofchaos’s picture

It's really more of a bug in Drupal 4.7; it'll be fixed in Drupal 4.8. I think I'm going to leave it this way for now so I don't have to unfix it later, but I understand your problem.

Therefore I'll leave this issue open so people can see the workaround.

merlinofchaos’s picture

Oh, FYI, I don't think I documented this clearly (and that's a bug in itself).

If you copy the stylesheet into your theme, (preserving the directory, so it needs to go in themes/mytheme/layouts for example) you can directly edit THAT stylesheet and the modules stylesheet will not even be included. I'm not yet sure if this is a great feature or not, but I figured it'd be nice to not even need to have conflicting CSS.

merlinofchaos’s picture

Status: Active » Fixed

I'm going to go with what I've got on this one, since you can override with a drop-in.

Anonymous’s picture

Status: Fixed » Closed (fixed)
gsh2000’s picture

Title: Style sheet load order » PANELS module -reduce Left + Right margin- twocol_stacked.css ?
Component: Code » Miscellaneous
Category: bug » support
StatusFileSize
new67.86 KB

Hello merlinofchaos - Thanks for great work with PANELs mod!

using PANELS module + GARLAND theme …

(Drupal 4.7.2 + twocol_stacked.css,v 1.4 2006/08/22 23:54:20 merlinofchaos)

http://www.joo2joo.org

Trying (hopelessly) to narrow the margin width between my SIDEBARs and PANELs body. Left and Right margin (approx. ½ inch) is about double the width of the GARLAND default (visible where no PANEL’s used, e.g. my BLOGs). Trying to get it down to approx. 1/4 inch.

No luck so far playing with twocol_stacked.css

Any pointers appreciated…

thanks

Garry@trantech.com

mlncn’s picture

@merlinofchaos in #2 -- That IS a great feature!