Solved

Need help with SP 2010 css

Posted on 2011-03-16
5
390 Views
Last Modified: 2012-05-11
I created a custom master page and attached a custom css to it trying to overwrite styles. One of the last remaining issues is a column header row (in a list, library or web part - see screenshot below). I need to change it height and color. I was partially successful with the background color but couldn't find a way to change its height. What class or classes do I need to modify?
 Screenshot
0
Comment
Question by:MisUszatek
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
navdeepmadan earned 250 total points
ID: 35153738
This section comming from the magic of XSL. you can go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XSL folder.
There are three key files which render the library :-
1) vwstyles.xsl
2) main.xsl
2) fldtypes.xsl

if you implemenation is generic for all doc library then find out the concerned file make a copy and add some value infront the file name and do the changed as you require.

if it's specific to one document library. Please do it thourgh SharePoint desinger.
0
 

Author Comment

by:MisUszatek
ID: 35157089
The question was about the css styles that are used for lists and libraries.
0
 
LVL 5

Expert Comment

by:navdeepmadan
ID: 35162632
List and doclibrary are based upon the based upon XSL and XSLT.
0
 

Author Comment

by:MisUszatek
ID: 35182845
So just to confirm: the height of the column headers is hard-coded in XSL files and not controlled by CSS?
0
 
LVL 5

Expert Comment

by:navdeepmadan
ID: 35189437
yes
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now