I created some stylesheet and placed it in the sub-folder of the /css directory.
I cannot access the file via the umbraco admin interface (Settings->Stylesheet) however when I install a Blog4Umbraco template, it does exactly the same thing but its css files are available vis the admin interface.
I did some digging around in the database and came across the table cmsStylesheet which seems to have the entries for the stylesheets inside the subfolder. I made a record pointing to my css. touched the web.config but still no luck.
stylesheet in sub-folder
Hi,
I created some stylesheet and placed it in the sub-folder of the /css directory.
I cannot access the file via the umbraco admin interface (Settings->Stylesheet) however when I install a Blog4Umbraco template, it does exactly the same thing but its css files are available vis the admin interface.
I did some digging around in the database and came across the table cmsStylesheet which seems to have the entries for the stylesheets inside the subfolder. I made a record pointing to my css. touched the web.config but still no luck.
Any idea how to get the css listed?
Thanks
Sailesh
I don't think that subfolders are supported in the stylesheet tree, it expects them all to be in the root.
If you install Blog4Umbraco and download templates, it has its css in subfolders and is shown in the admin interface.
figured out how to do it.
Unlike files, subfolders are not automatically detected by umbraco so for instance if you want to have a stylesheet in say subfolder called myfolder
eg. /css/myfolder/style.css
You will need to use the admin ui to create the file
when you crate the new stylesheet give it the subfolder too i.e myfolder/style
My bad! Glad you found out how to do it :)
is working on a reply...