SharePoint Styles

A great series of articles explaining how to style SharePoint from http://www.cleverworkarounds.com which in itself looks like a useful place for all things SharePointy.
 
 
Remember to visit the other parts of the article. 
 
Turns out that getting the CSS heirarchy right is a bit of a pain as you have little control over the position of CORE.CSS which will always gets rendered last so blows all your custom styling out of the water.  So have soldiered on with the proposed solution in Part 3.  Essentially using:

<
SharePoint:CssLink runat=”server”/>
<SharePoint:CssRegistration name=”<%$SPUrl:~sitecollection/Style Library/zzzGlobalMaster.css%> runat=”server”/>
 
Where zzzGlobalMaster.css is my firm’s generic web styling.  I’ve created a custom masterpage which makes us of the styles in this css.  Note:  This is using my own styles classes, I am not overwriting anything in CORE.CSS at this time. Then using the ‘master page settings’ inside SharePoint to specify another CSS stylesheet that handles specific styling for the particular site (which will include CORE.CSS overrides).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: