+ Post New Thread
Results 1 to 4 of 4
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 ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Cloud 9
    Thank Post
    Thanked 690 Times in 444 Posts
    Rep Power

    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"

  2. #2

    Join Date
    Oct 2008
    Thank Post
    Thanked 18 Times in 13 Posts
    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:
    HTML Code:
    .ms-globalbredcrumb {
      backgroun-color: #000000 !important;
    ) 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.

    Hope that helps you out a bit. If you clarify the exact problem at all I'll help if I can.


  3. #3
    Binksuk's Avatar
    Join Date
    Nov 2008
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power
    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.

  4. #4

    Join Date
    Jun 2008
    Thank Post
    Thanked 7 Times in 7 Posts
    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?

+ Post New Thread

Similar Threads

  1. Custom OWA Theme
    By HMCTech in forum Windows
    Replies: 19
    Last Post: 26th April 2011, 03:47 PM
  2. SIMs Webparts - MOSS 2007
    By karlieb in forum MIS Systems
    Replies: 1
    Last Post: 21st September 2007, 01:02 PM
  3. What custom wallpapers are you using?
    By Halfmad in forum Windows
    Replies: 21
    Last Post: 4th June 2007, 06:30 PM
  4. BSF - Email from Steve Moss
    By Face-Man in forum BSF
    Replies: 95
    Last Post: 26th January 2007, 06:03 PM
  5. Custom GPO - Help
    By mloveless in forum Coding
    Replies: 1
    Last Post: 3rd February 2006, 11:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts