Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

removing stylesheet links

Go to End

2 Posts   1845 Views


Community Member, 11 Posts

7 July 2008 at 5:29pm

how do I remove the stylesheets links?
it dose not appearers in my themes
it well make my file xml file invailed


Forum Moderator, 5523 Posts

7 July 2008 at 5:35pm

Checkout mysite/code/Page.php. We include the CSS files by a custom PHP class called Requirements. If you do not wish to include the Stylesheets then just remove the lines which have Requirements::css() in your Page_Controller class.