1340 Posts in 432 Topics by 511 members
|Go to End|
1 June 2009 at 2:47am
I've just started using SilverStripe and I really like the CMS part of it. The template development however seems a bit awkward.
I can't figure out how to work around the default CSS files that always gets loaded into the page.ss file for example.
typography.css, layout.css and form.css get automatically loaded into the page even if I removed the links to them in the ss file.
I understand that these stylesheets have got some required styles in them for the CMS to work but when creating a new template how do people work around these to not get your site to pick up styles from these 3 stylesheets?
Any help would be greatly appreciated.
1 June 2009 at 3:02am
Forgot to add that I can edit the default CSS files to suit my needs but I suppose that that might break other things.
Is that correct?
1 June 2009 at 7:36am
I worked it out in the end. Just had to name all classes for the template and not leave any un-named such as body or html only.
Working as it should now.
15 June 2009 at 5:35pm
In 2.3 I think we still have links to the default CSS files in the PHP files - in mysite/code/Page.php so that might be the cause of them loading.
|Go to Top|