Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list that that is on a page. I want the font to be larger just in that list on that particular page in order to print and view the printed version better. I've found things online that allow increase the font size of the titles on the page, but not the individual items on the list? Any ideas?

share|improve this question

3 Answers 3

Using the content editor web part, or HTML forms web part, you'll want to specify CSS for

rows
.ms-vb2, .ms-vb {font-size: 14pt;}

row header
TH .ms-vb {font-size: 14pt; }

HTH

share|improve this answer
    
Okay, got it to work for a normal list. How can I get the list items font size to increase when I have the style of the list view as a Boxed style? This works for all other views besides boxed? –  Fant Asy Nov 5 '12 at 15:43
    
Modify .ms-stylelabel and .ms-stylebody. –  David Lozzi Nov 5 '12 at 15:51

Fant Asy,

You will need SharePoint Designer 2010...

Inside the designer you can edit the data view web parts of Lists and customize how they look, apply CSS and styles...

Here is the simplest formatting in SharePoint Designer 2010:
SharePoint 2010 List Views – Formatting Tip

You can also apply Conditional Formatting on your List View...

I hope this helps!

share|improve this answer

Most of this font styling is done at the TD level, making it a bit of a pain. Try this definition:

.ms-vb,.ms-vb2,.ms-vb-user,.ms-vb a
{
   font-size:15px;
}

All three of those 'ms-vb...' classes are attached to TD cells within List Views - in addition, the Title column's font is determined by the styling on the actual Title link (.ms-vb a).

Hope this helps!

EDIT: Dev Tools screenshot

You can see on the bottom right that .ms-stylelabel has a font-size declaration that applies to the contents of the TD.

share|improve this answer
    
Thanks for the reply. I was able to use this information and it worked for all views other then a view I have set up as a boxed style. Any ideas on how to increase the data in a boxed style view? –  Fant Asy Nov 5 '12 at 15:45
    
Sure - use .ms-stylelabel,.ms-stylebody { ... } Label is for the left side, body is for the right. –  Ted N. Nov 5 '12 at 15:50
    
thank you. How did you find that attribute? I was looking in the HTML and could not find it, even using the locate tool? –  Fant Asy Nov 5 '12 at 16:01
    
I inspected the row using IE Dev Tools and then tested modifying the style to see if it worked or not -- see post for a screenshot. –  Ted N. Nov 5 '12 at 16:06
    
Thanks, that single bit of information on how to find that will help me greatly. I really appreciate it. –  Fant Asy Nov 5 '12 at 16:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.