Solved

Need help with SP 2010 css

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

22 Experts available now in Live!

Get 1:1 Help Now