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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2173 Views

Avatar
tom_a_sparks

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

Avatar
Willr

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.