<div class='shrinkable-quote'><br/>>
<br/>>
<br/>>Hi, I have developed a custom theme for my Plone-4.1.3 site.  The theme
<br/>>includes some css-files.  To have them appear in the HTML header of a Plone
<br/>>page I have done the following:
<br/>>
<br/>>#1 In browser/configure.zcml there is a declaration
<br/>>
<br/>>  <browser:resourceDirectory
<br/>>      name="mytheme.mytheme.stylesheets"
<br/>>      directory="stylesheets"
<br/>>      layer=".interfaces.IThemeSpecific"
<br/>>      />
<br/>>
<br/>>to specify which directory to use for my stylesheets
<br/>>
<br/>>#2 In profiles/default/cssregistry.xml there is an entry
<br/>>
<br/>> <stylesheet title=""
<br/>>    id="++resource++isytheme.isytheme.stylesheets/mystylesheet.css"
<br/>>    media="screen" rel="stylesheet" rendering="import"
<br/>>    cacheable="True" compression="safe" cookable="True"
<br/>>    enabled="1" expression=""/>
<br/>>
<br/>>for each of my custom stylesheet files.
<br/>>
<br/>>#3 My custom stylesheets are copied into the above declared "stylesheets"
<br/>>directory
<br/>>
<br/>>My problem is that I cannot make the stylesheets appear in the page view
<br/>>unless I tick the "development mode" in ZMI's css registry.  If I untick the
<br/>>developement mode they disappear again.  I checked the HTMl source produced
<br/>>by Plone and my css-files are only declared in the head when "development
<br/>>mode" is ticked, otherwise not.
<br/>>
<br/>>My css-files appear in the ZMI css registry view, so Plone is aware of them. 
<br/>>Why are they declared in the HTML head only in "development mode"?
</div><br/>When in development mode, the css in subfolders are loaded, maybe this is why.
<br/>This has been discussed before, so try googling for it (I cant remember it now (home, a bit busy)
<br/><br/>Espen
<div class='shrinkable-quote'><br/>>
<br/>>Regards
<br/>>
<br/>>Klas Nordberg
<br/>>
<br/>>
<br/>>_______________________________________________
<br/>>If you reply to this email, your message will be added to the discussion below:
<br/>><a href="http://plone.293351.n2.nabble.com/Stylesheet-problems-tp7240532p7240532.html" target="_top" rel="nofollow" link="external">http://plone.293351.n2.nabble.com/Stylesheet-problems-tp7240532p7240532.html</a><br/>>
<br/>>To unsubscribe from Plone, visit <a href="" target="_top" rel="nofollow" link="external"> 
<br/>Espen Moe-Nilssen
<br/>Grieg Medialog AS
<br/><br/>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://plone.293351.n2.nabble.com/Stylesheet-problems-tp7240532p7241345.html">Re: Stylesheet problems</a><br/>
Sent from the <a href="http://plone.293351.n2.nabble.com/User-Interface-amp-Design-f293357.html">User Interface & Design mailing list archive</a> at Nabble.com.<br/>