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.

All other Modules /

Discuss all other Modules here.

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

Diary Grey Background Issue


Go to End


3 Posts   2468 Views

Avatar
Yambo

Community Member, 4 Posts

10 December 2009 at 7:51am

Hi all, first off just want to say what a fantastic CMS Silverstripe is. I have been blown away by the features it offers and the customisation it allows.

Anyways, I'm having an issue with the Diary Module, more specifically the DiarySideBar widget. I just want to remove the grey background around it. I've checked all style sheets in my templates folder and the Diary folder itself. I tried creating a new style with #Sidebar or .typography for the relevant classes and id's but still no joy!

The link to the site I'm working on is below;

http://www.jamitz.co.uk/cms/eventscalendar

Thanks guys!!! Sorry if this is a NEWBIE question I have only been using the CMS for 2 days now. But I have purchased the book, it's coming soon!!

Cheers guys and gals.

Avatar
Yambo

Community Member, 4 Posts

10 December 2009 at 10:01am

Okay I feel slightly silly now....

I solved the problem. Basically I made a backup of the css folder and created my own style sheets and folder. The diary module was automatically picking up the old style sheet folder and not my new one. Bizarrely it picked up some of my style sheets in my "new css" folder and picked up some style sheets from the old "css"folder.

I guess it searches all folders to find the .css file it is looking for???

Sorry for any inconvenience...

Cheers

Avatar
drkvogel

Community Member, 1 Post

30 April 2010 at 3:15am

I had a similar problem with the main site template - I had backed up my current copies of layout.css and typography.css in a subfolder of themes/[mytheme]/css/, and then restored the current files from a backup. After doing a flush, the site looked completely mangled and when I inspected the calculated CSS from my browser, it appeared to be some amalgamation of the old and new. ie, as if it was reading layout.css and old/layout.css. I renamed old/layout.css and the site went back to how I expected it to be. So it seems SilverStripe is reading all files called layout.css in the css folder and any subfolders. I can't see any reference to this behaviour in the documentation or elsewhere, can anyone confirm that this is what was happening?

Chris