Solved

Need help with SP 2010 css

Posted on 2011-03-16
5
445 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 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

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…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

628 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