Change to Discourse Font Sizes

As some of you may have already noticed, there’s been a change to the way discourse handles font sizes. Previously you could do [size=5]asdf[/size] to get text on a scale of 1-6, but that code now will make the text tiny. That’s because the new way it reads size is in PERCENTAGE of the normal font size, where 100 is 100%, or no change to the normal size.

Note that this change will only affect posts that are new or edited. Existing posts are unaffected until you try to edit them.

In addition to being able to just make up your own numbers now, here are some approximations of the old sizes to new percentages that you can use, going forward:

Size 1 = 60
Size 2 = 75
Size 3 = 100 (Default)
Size 4 = 115
Size 5 = 150
Size 6 = 200




And if for some reason you need to EXACTLY match the old sizes, here ya' go:

Size 1 = 58
Size 2 = 76
Size 3 = 100 (Default)
Size 4 = 106
Size 5 =141
Size 6 = 188

7 Likes