MyBB Community Forums

Full Version: Is a different kerning of text possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

is it possible to change the kerning of the letters in the posts possible in MyBB (or it's source code/css)?

Regards,

Martin
It's called letter-spacing in CSS: W3Schools CSS - Letter Spacing

.cssdef{
letter-spacing: 2px
}

If you want to change all of the text, put it in the body section of the CSS of course...
Thank you but of which css file? There are so manyConfused.

Regards,

Martin
Edit global.css - this is the styles for all of your forum. For the default theme (as an example), you need the body style to look like this:

body {
	background: #efefef;
	color: #000;
	font-family: Verdana, Arial, Sans-Serif;
	font-size: 13px;
	text-align: center; /* IE 5 fix */
	line-height: 1.4;
	letter-spacing: 2px
}

Just add letter-spacing to the end of whatever you have there and it should work...
I don't seem to have a file called global.cssConfused.

I am using the default template so maybe it's aclled different?

Regards,

Martin
It's in your ACP that you edit the stylesheet. Go to ACP -> Templates & Style -> Default Theme (Options -> Edit Theme) -> Edit Global.css...
Big Grin Thank you I found it and edited the css. Easy peasy once you know how Big Grin.

Regards,

Martin