Just to confirm, I added both insert-top="True" and insert-before="*" to the 
reset.css registration node and now it is, indeed, being registered as the 
first css. 

Thanks a bunch! 

Best wishes, 
Michael A. Smith 
Web & Digital / Academic Technologies Manager 
Nazareth College 

----- "Luciano Pacheco" <[email protected]> wrote: 
> 
> On Wed, Sep 1, 2010 at 3:31 AM, Wichert Akkerman < [email protected] > wrote: 
> 

On 2010-9-1 03:33, Michael Smith wrote: 
> > Using Plone 4.0rc1 when my theme product installs it registers 'reset.css'; 
> > however, the order specified in cssregistry.xml is not being respected, and 
> > I have to manually reorder the registry. Furthermore, it seems like skins 
> > are imported after setuphandlers are run, so I can't work around it by 
> > using a setuphandler to reorder portal_css resources. 
> > 
> > It's important that reset.css be the first entry in portal_css -- how can I 
> > make sure that happens with GS? 
> 
> Add an insert-before="*" attribute. 
> 

> I tried this on Plone 3.1.7 and didn't work. I have to use insert-top="True". 
> 
> [], 
> -- 
> Luciano Pacheco 
> blog.lucmult.com.br 
> 
> _______________________________________________ Product-Developers mailing 
> list [email protected] 
> http://lists.plone.org/mailman/listinfo/product-developers 
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to