MyBB Community Forums

Full Version: Font Size
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was using 1.2.1 version and I upgraded my forum to 1.2.2 when I wanna use [size=x] [/size] code the font size will too big.

Example:

in this forum:

MyBB Community Forums

my forum: (with the same font size)

MyBB Community Forums

can anyone help me please!!

if nobody don't understand my question I can explain more??
Inside inc/class_parser.php
Try changing:
$standard_mycode['size_int']['replacement'] = "<span style=\"font-size: $1em;\">$2</span>";
to:
$standard_mycode['size_int']['replacement'] = "<span style=\"font-size: $1pt;\">$2</span>";
I did then they are too small Sad

sorry so sorry..

there is no problem thanksSmile
They appear correct now?
Yes, the same as MyBB community but don't you make it like vBulletin forums. For example if we want to use [size= 5] code we see too big characters but in vBulletin it doesn't like that.

Between size=1 and size=2 there is lots of difference in MyBB. Don't we change it in any ways Wink

Edit: I solved this big character problem (I think this is a problem)

in /inc/class_parser.php

Find:
$standard_mycode['size_int']['replacement'] = "<span style=\"font-size: $1em;\">$2</span>";

Replace:

$standard_mycode['size_int']['replacement'] = "<font size=\"$1\">$2</font>";