Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

This is probably a duplicate. I can't imagine I'm the first person to notice this.

It seems that Safari 6 has removed the appearance tab from the preferences, and with it, the ability to change the default fonts.

How do I change the default fonts for Safari 6?

share|improve this question

3 Answers

Serenity Caldwell wrote an article on Macworld when Mountain Lion was first released as a dev preview:

Safari no longer offers an option to set default fonts and sizes (though you can upload a style sheet or force the browser not to show font sizes smaller than a certain number)

You can do this via an extension called User CSS. Pretty simple, add your custom CSS and it will override the styles.

There is also an Apple discussion thread about this, but nothing important has come of it so far. One thing that was mentioned was using HelveticaTheWorld, which changes all the fonts to Helvetica. Not terribly useful unless you want Helvetica everywhere... Another extension mentioned is Google Fonts in Safari. It allows you to pick from the Google Fonts library.

As of right now, there is no other way to change the fonts in Safari. I would suggest you submit Apple feedback to see if you can get this added back in.

share|improve this answer
1  
Isn't custom CSS already supported without an extension? – asmeurer Jul 30 '12 at 0:02

Indeed, this is trivially easy with a simple style sheet that overrides the default "body" font. All you need is all of three lines long:

body { font: 12px "Lucida Grande"; }

share|improve this answer
2  
And where do you put said style sheet? How do you get Safari to always load it? – Daniel Lawson Jul 30 '12 at 18:43
What do I use to change the monospace font? – asmeurer Jul 30 '12 at 21:32
Copy that line of CSS; use a text editor to put it in an otherwise empty text file, and save that text file to your local hard drive with a filename like, say, default.css. Then go to Safari > Preferences, select the Advanced tab, and in the Style sheet dropdown, select Other. Navigate to your default.css file, and Safari will start using your new CSS as its default. – Jed Hartman Jul 31 '12 at 6:26

There's still hidden preference keys for changing the default fonts and font sizes.

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2StandardFontFamily Georgia
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFontSize 16
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily Menlo
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize 14

You could also set a CSS file like this as as the default style sheet in the advanced preferences.

body {
  font: 16px Georgia;
}
pre, code, tt {
  font: 14px Menlo;
}
share|improve this answer
This doesn't seem to work. – asmeurer Aug 13 '12 at 21:19

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.