Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

Need help with SP 2010 css

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
MisUszatek
Asked:
MisUszatek
  • 3
  • 2
1 Solution
 
navdeepmadanCommented:
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
 
MisUszatekAuthor Commented:
The question was about the css styles that are used for lists and libraries.
0
 
navdeepmadanCommented:
List and doclibrary are based upon the based upon XSL and XSLT.
0
 
MisUszatekAuthor Commented:
So just to confirm: the height of the column headers is hard-coded in XSL files and not controlled by CSS?
0
 
navdeepmadanCommented:
yes
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now