Skip Ribbon Commands
Skip to main content

Colorado SharePoint Users Group (COSPUG)

:

InfoPath & SharePoint Designer:List Web Part View - Change Column Header Font :FlatUse SHIFT+ENTER to open the menu (new window).Open MenuOpen Menu

Please feel free to ask your InfoPath and SharePoint Designer questions here for both 2007 and 2010.  Clayton Cobb will be here to answer them or ensure they get answered...
  
Post
Started: 3/11/2010 6:01 AM
Picture Placeholder:
List Web Part View - Change Column Header Font

I created a web part page and added the web part view for a custom list. I'd like to be able to change the font (color/size) and background color for the ​column header. Is there a simple way in SP Designer to do this? Or can someone at least provide me step-by-step instructions so I don't have to be an advanced web developer to do this.

Posted: 3/17/2010 1:28 PM
Picture: Clayton Cobb
Clayton CobbNo presence information

There isn't an OOTB function for customizing column header fonts.  You can change all sorts of stuff within the content area, but I've never actually seen someone request to change the column header fonts.  What is leading to this requirement?  I will ask some SPD MVP colleagues if such a thing can be done directly through SPD.

 

A web developer would not necessarily be able to do this either.  You'd need a SharePoint Brander to customize page layouts and CSS.

Posted: 3/17/2010 4:24 PM
Picture: Clayton Cobb
Clayton CobbNo presence information

In SDP2010 (only for SharePoint 2010), this is an OOTB feature and is very easy.  It's only specific to that view, but it works nicely and can easily be done with full rich text editing on the column headers - I was just playing with it.

 

In 2007, a workaround would be to use a hidden Content Editor Web Part on the view page that contains CSS class modifications. 

Use the IE 8 dev toolbar (or IE 7 dev toolbar which can be downloaded and installed) to discover the CSS class.