• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ How-to (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

SOLVED: Change default font size?

A collection of how-to's, submitted by users for other users!

Moderator: re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

SOLVED: Change default font size?

Postby itchibahn » Fri Nov 30, 2012 4:45 pm

I'm trying to reduce the font-size just in the chat window content (history/log) without effecting anything else. I'm using v1.5, MSN theme.

I've tried below on style/generic.css, but it effects entire chat screen including the tabs, and input box, etc.
Code: Select all
body {
    color: #000000;
    background: #339933;
    font-family: Verdana, Sans-Serif;
   [b] [color=#800000]font-size: 80%;[/color][/b]
    padding: 0;
    margin: 0;
}


I've also tested with themes/default/style.css.php by changing every font-size tags, but made no effect.

Could someone direct me to correct location for changing default font-size for just the chat window content (history/log)?

Thank you.
Last edited by itchibahn on Sat Dec 01, 2012 3:46 am, edited 1 time in total.
.
.
.
-------------------------------------------------------------------------------
Currently working on NorJah
My failed websites: PC Share ISOT MultiByte
itchibahn
Member
 
Posts: 12
Joined: Sun Mar 16, 2008 6:33 pm
  • Website
Top

Re: Change default font size?

Postby itchibahn » Sat Dec 01, 2012 3:46 am

Got it figured out...

Did it in themes/default/style.css.php

Code: Select all
div#pfc_channels_content {
  font-size: 12px;                                    // set the font size
  line-height: 160%;                                 // set the line height
  margin: 0; padding: 0;
  z-index: 20;
  position: relative;
  width: 100%;
  border-right: 1px solid #555;
  border-left: 1px solid #555;
  border-bottom: 1px solid #555;
  background-color: #FFF;
  height: <?php echo ($c->height!=''?$c->height:'300px'); ?>;
}
.
.
.
-------------------------------------------------------------------------------
Currently working on NorJah
My failed websites: PC Share ISOT MultiByte
itchibahn
Member
 
Posts: 12
Joined: Sun Mar 16, 2008 6:33 pm
  • Website
Top


Post a reply
2 posts • Page 1 of 1

Return to How-to (v1.x)

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub