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.

Themes /

Discuss SilverStripe Themes.

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

CSS not updating

Go to End

4 Posts   1570 Views

Ryan Lawrence

Community Member, 8 Posts

16 February 2012 at 12:23am

Edited: 16/02/2012 12:25am

For some reason the CMS isn't updating when I upload a new layout.css. The New layout.css has uploaded correctly to the server and is showing what it should: (This version is the one I want) However my pages are pointing to an old version of the css.
When I look at my source code it points to:

The only fix i have is to reinstall the whole CMS and I don't want to do that every time I want to update the layout.

Can anybody help?


Community Member, 55 Posts

16 February 2012 at 12:38am


what happens when you deleted this one

SS will pick that style sheet first

Let me know



Forum Moderator, 1377 Posts

16 February 2012 at 1:13am

Did you change the path to your new css in the page template? And most importantly - did you do a ?flush=1 afterwards?

Ryan Lawrence

Community Member, 8 Posts

16 February 2012 at 6:29am

Thank-you for you quick replies :) It turns out I didn't realise that I uploaded layout.css to majestic2/ by mistake, So i just deleted it and all sorted now. Thank-you Turnaround Guy and Martimiz.
Ryan :)