skip to navigation
skip to content

Not Logged In

collective.localstyles 1.0

Add local styles to subsections in your Plone site.

collective.localstyles

With this Plone Addon you can add local styles within a subsection of your Plone site.

After installation you can upload a css file, named localstyles.css anywhere to a folderish content item. This css file is then included for this folder and all content items below. The traversing stops for ISite based objects, which a localstyles.css file within a ISite (e.g. a collective.lineage site) isn’t used for folders, which are in higher hierachy of the content tree.

This product registers a viewlet named collective.localstyles.viewlet, which is included in plone.app.layout.viewlets.interfaces.IHtmlHead and is responsible for injecting the localstyles.css file.

This product is inspired by this discussion: http://plone.293351.n2.nabble.com/CSS-for-a-single-page-td7559936.html

Changelog

1.0 (2014-06-03)

  • Initial.
 
File Type Py Version Uploaded on Size
collective.localstyles-1.0.tar.gz (md5) Source 2014-06-03 10KB
  • Downloads (All Versions):
  • 4 downloads in the last day
  • 18 downloads in the last week
  • 75 downloads in the last month