Log in

View Full Version : Changing the font properties of posts


theChronic
08-03-2006, 03:44 AM
Hey whats up
I was wondering if there is a way to change the font properties of all the text in posts without changing the text that is outside of the post. I want to make the text inside posts a little bigger by default and be like 1.5 spaced. Is there a way to do this?

thnx
john

Freesteyelz
08-03-2006, 06:13 AM
In either postbit or postbit_legacy template find this:


<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->


And replace it with:


<!-- message -->
<div id="post_message_$post[postid]" class="msg">$post[message]</div>
<!-- / message -->


Then in Main CSS at the bottom "Additional CSS Definitions add:


.msg {
font-size:13px;
line-height:13px;
letter-spacing:5px;
word-spacing:11px;
}


letter-spacing = spacing between characters
word-spacing = spacing between words
line-height = spacing between rows

Change the values to suit your needs. I used "px" but you can use "em" as well. :)

theChronic
08-03-2006, 05:21 PM
Awesome FreeSteyelz, thanks so much. Will this affect the way the messages in the quote parameters look? Itd be nice to change that too