Virtual Learning Platforms Thread, MOSS Custom CSS in Technical; We use MOSS 2007 as our VLE which is hosted by our LEA. The LEA has one theme in particular ...
25th November 2008, 11:12 AM #1
MOSS Custom CSS
We use MOSS 2007 as our VLE which is hosted by our LEA. The LEA has one theme in particular which is close to our needs but not quite there so I was wanting to edit it using custom.css
I'm testing it on a subsite first to ensure it works before rolling out but the changes I make aren't getting through to the site. Here's the steps I've taken.
1) Create custom.css with the following
2) Upload CSS file to the top level site in the styles library
3) Goto my sub-site and site settings then master pages under look and feel
4) At the bottom, select the custom.css for the CSS file.
After doing this, the site still doesn't change appearance - has any body had any success overiding the core.css with this method? And if so can you offer any advise?
P.S. Please don't be sarcy and say "The problem is you're using MOSS 2007"
IDG Tech News
25th November 2008, 05:14 PM #2
- Rep Power
My first step would be to ensure that the file I've changed is being looked at at all by the page; if I establish it is then prod the css a lot, if not then check the config pages.
If you install the firebug extension for firefox, you can see what every css file that gets used is and if its rules are over-ridden elsewhere and many other groovy things :-) . Not knowing the inner workings of MOSS I can't guarantee that this will give conclusive info one way or the other, but it could be useful.
If your css file is being used but the rules don't appear to be being applied, try adding the !important decleration (eg:
) to try to make sure your rules aren't over-ruled by later declerations for the same element. Remember CSS is cascading, so the last / most specific rule defined for an element gets used.
backgroun-color: #000000 !important;
Hope that helps you out a bit. If you clarify the exact problem at all I'll help if I can.
25th November 2008, 10:47 PM #3
Not sure if it will help, still only just starting out with MOSS myself, but one stumbling block I did fall over early on was making sure files, such as custom stylesheets, were checked in (or published, not quite sure of the correct terminology) once I'd completed them to allow users to see the changes. Maybe this is the same problem you're having? Like the poster above, I've also found that marking changes as !important helps to override some of the more stubborn Sharepoint styles.
25th November 2008, 10:48 PM #4
- Rep Power
My understanding is that once you amend custom.css, the way in which css is implemented changes somewhat:
If your master page links to a custom CSS file, the CSS file will get pulled before Core.CSS. it may therefore be that the Core.css is still overriding your changes in custom.css?
By HMCTech in forum Windows
Last Post: 26th April 2011, 03:47 PM
By karlieb in forum MIS Systems
Last Post: 21st September 2007, 01:02 PM
By Halfmad in forum Windows
Last Post: 4th June 2007, 06:30 PM
Last Post: 26th January 2007, 06:03 PM
By mloveless in forum Coding
Last Post: 3rd February 2006, 11:19 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)