plone - Why is the ploneCustom.css Stylesheet not loaded? -
i new plone , i'm learning how change stylesheets. changed plonecustom.css in /plone/portal_skins/custom/ , saved it. when tried take @ site, realised plonecustom.css stylesheet isn't loaded. according research template broken... do information? fix , how?
thanks in advance!
50 ways of styling plone, 4 of them explained:
1.) customize plonecustom.css
a relict of skin-folder-times, recommended use browser-based resources, instead. reason is, when have lot of resources registered, it's hard keep correct order of skin-layers , can lead unwanted overrides. nevertheless, if don't have complex setup, or quick testing, feasible use skin-layers , plonecustom.css, exact steps are:
- go "http://yourhost.net:8080/yourplonesiteid/portal_skins/sunburst_styles/plonecustom.css/manage_main".
- click on "customize".
- enter style testing, e.g. "body { background: red }", save.
- make sure, css-debug-mode on @ "http://yourhost.net:8080/yourplonesiteid/portal_css/manage_cssform" make sure plonecustom.css on list , enabled, meaning checkbox on left checked. should last entry in order override other stylesheets.
2.) use site's page style-source
alternatively can have @ "adi.ttw_styles" (disclaimer: i'm author), provides stylesheet living in site ordinary item of type "page" , registered browser-based resource, naming-conflicts impossible. still, stylesheet lives in site then, wouldn't suitable cases, want have reproducable theme.
3.) include browser-based resources in addon (f.k.a. "product")
well documented. addon-generator, allows create addon holding browser-based stylesheet , javascript, "adi.devgen" (disclaiming again: i'm author), after installation execute devgen addbrowserskel your.addonname
of commandline.
4.) diazo
the promoted state-of-the-art-way-of-theming. documented, have fun learning xlst :-)
Comments
Post a Comment