Customize TOC Web Part CSS – Part 2

Customize TOC Web Part CSS

How to Replace default CSS styles used by a TOCWP with new CSS Classes
How to modify the default XSL Style Sheets used by Table of Contents web Parts to replace the default CSS classes with new ones.  Modify styles for all TOCWPs accross a SharePoint site collection.

How to differentiate styles between the Horizontal & Vertical Presentation Layouts of a TOCWP
Various presentation layouts available for a Table of Contents web Part use identical class names as other presentation layouts.  To differentiate classes that are used by multiple presentation layouts, you can write new CSS classes, then replace the default by modifying the XSL Style Sheet used to format TOC Web Parts.

Where to find the default XSL Style Sheets for a TOCWP in SharePoint (MOSS)
Where are the default XSL Style Sheets located for a Table of Contents Web Part (TOCWP)?  The default XSL style Sheets used are located in the style library of the site collection (http://sitecollectionurl/Style Library/XSL Style Sheets/LevelStyle.xsl).

How to modify and apply changes to the Default XSL Style Sheet for TOC Web Parts
How to make changes to the global (default) XSL Style Sheets for application to all Table of Contents Web Parts accross a Site Collection, and how to implement CSS styles that correspond to the changes to allow TOC Web Parts to be rendered with the modified styles. 

Download sample image set and style sheets for TOCWPs
Customise the Table of Contents Web Part styles with background images and and alternate theme.  Download a sample image set and corresponding style sheets to apply customised styles to one or many Table of Contents Web Parts.

How to Customise All Table Of Contents Web Parts in a Site Collection
How to modify default style classes, and/or the default XSL style sheet used by Table Of Contents Web Parts accross an entire Site Collection.  Override or replace default styles used by a TOCWP, then apply the styles to a globally available style sheet for use by any Table of Contents Web Part in a Site Collection.

See Customize TOC Web Part CSS for details.


Related posts:

  1. Customize TOC Web Part CSS – Part 1

Comments are closed.