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.

Themes /

Discuss SilverStripe Themes.

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

CSS not updating


Go to End


4 Posts   2237 Views

Avatar
Ryan Lawrence

Community Member, 8 Posts

16 February 2012 at 12:23am

Edited: 16/02/2012 12:25am

Hi,
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: http://majestictheatre.planetryan.co.uk/themes/Majestic2/css/layout.css (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: http://majestictheatre.planetryan.co.uk/themes/Majestic2/layout.css?m=1329304083

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?
Ryan

Avatar
Lexandclo

Community Member, 55 Posts

16 February 2012 at 12:38am

Hi

what happens when you deleted this one

http://majestictheatre.planetryan.co.uk/themes/Majestic2/layout.css

SS will pick that style sheet first

Let me know

Darren

Avatar
martimiz

Forum Moderator, 1391 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?

Avatar
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 :)