Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Need help with SP 2010 css

Posted on 2011-03-16
5
Medium Priority
?
454 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
navdeepmadan earned 1000 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 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