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 Arial and Verdana as Theme Font. I want to add Tahoma to the Theme Fonts as well. How do I add a theme font to the ribbon?

enter image description here

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

Add the following to the styles for the page:

.ms-rteThemeFontFace-3
{
  -ms-name:"Tahoma";
  font-family:Tahoma;
}
share|improve this answer
    
How does this work? I assume sharepoint somehow parse styles and build the drop down with fonts using parsed styles and javascript? Am I correct? –  Kai Apr 3 '12 at 13:53
1  
@Kai Yes, you can see the implementation in 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\SP.UI.Rte.debug.js' if you want –  Per Jakobsen Apr 3 '12 at 13:59
add comment

Refer this link : http://styledpoint.com/blog/ribbon-customization-changing-placement-look-and-behavior/

It may help... :)

share|improve this answer
    
It's considered good practice to summarise any links you answer with in case of link rot. –  Zhaph - Ben Duguid Mar 27 '12 at 10:07
    
Also, that particular link doesn't even mention adding fonts to the Theme fonts section. –  Zhaph - Ben Duguid Mar 27 '12 at 10:11
add comment

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.