Re: How to apply CSS to a plone product

"Alexander Limi" <limi-z4DKO/[email protected]> Fri, 14 Jan 2005 08:37:23 +0100
Newsgroups gmane.comp.web.zope.plone.design
Organization Plone Solutions · http://www.plone solutions.com
Message-ID <[email protected]>
On Thu, 13 Jan 2005 19:58:39 -0500, Steve Hein  
<[email protected]> wrote:

> I am writing a plone product to display classified ads. I want to use a  
> CSS to control display of the ads, but I haven't been able to find  
> documentation on how to apply a CSS to a Plone product. Can someone  
> explain how a CSS is linked to a page template that sets up the view of  
> the page? Can you just include the CSS file in the project's skin folder?

Fill the css_slot with your style sheet declarations from your template.

Something like (untested):

<metal:css fill-slot="css_slot">
   <style blah blah />
</metal:css>

-- 
_____________________________________________________________________

      Alexander Limi · Chief Architect · Plone Solutions · Norway

  Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

       Plone Co-Founder · http://plone.org · Connecting Content
   Plone Foundation · http://plone.org/foundation · Protecting Plone



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt