Aidan Garnish
MOSS 2007 and other Microsoft technologies

Overriding core.css in MOSS 2007

November 13, 2007 14:06 by aidan

So you are trying to use a custom css in your master page but the nice shiny font you are trying to display isn't showing up! The reason for this is that core.css will be called after your custom css file leaving your text displaying as verdana or arial.

The fix for this is to declare your custom css file in the master page settings of your site - (Site Actions/Site Settings/Master Page). The result is that your custom css will be applied after core.css and the font you specified is used.

For more interesting scenarios in which a bit of tweaking is required to get the right css file to be applied see http://www.heathersolomon.com/blog/archive/2006/10/27/sp07cssoptions.aspx


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: MOSS 2007 | CSS
Actions: E-mail | Permalink | Comments (3) | Comment RSSRSS comment feed

Related posts

Comments

November 19. 2007 14:26

Pingback from virtual-generations.com

SharePoint 2007 Link love: 11-19-2007, part three at Virtual Generations

virtual-generations.com

August 29. 2008 15:16

But what if you're building the Master Page as a stapled feature, such as the default branding for all new My Sites...it's not realistic to ask each user to go into their own My Site site settings to override the CSS...how do I include it in the Master Page and have the core.css overridden by default?

Tony

August 29. 2008 20:05

You could create try creating a site definition that includes the css you want and use it as the site definition for My Sites.

aidan

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

December 5. 2008 07:14