Jump to:

10845 Posts in 2513 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Diary Grey Background Issue

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1512 Views
  • Yambo
    Avatar
    Community Member
    4 Posts

    Diary Grey Background Issue Link to this post

    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.

  • Yambo
    Avatar
    Community Member
    4 Posts

    Re: Diary Grey Background Issue Link to this post

    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

  • drkvogel
    Avatar
    Community Member
    1 Post

    Re: Diary Grey Background Issue Link to this post

    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

    1512 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.