Help Center Live Community
April 24, 2014, 02:59:18 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Font size resizes automatically  (Read 5516 times)
4GoodSolutions
Not too much to say...
*
Offline Offline

Posts: 37


« on: November 24, 2007, 03:55:02 AM »

Hello,

I don't know why, but both in operators and guest chat window fonts are changing size automatically. I have set bigger font size for both operator window and guest window in CSS.

But when operator or guest soon someone click on 'Send' button - font size decreases to old values.

I'm using 'G' template with attached CSS files.

Can some cure be found for this problem?

I would really appreciate that.

Regards.
« Last Edit: November 25, 2007, 05:18:34 PM by 4GoodSolutions » Logged
4GoodSolutions
Not too much to say...
*
Offline Offline

Posts: 37


« Reply #1 on: November 25, 2007, 05:19:43 PM »

I have found and solved this problem. Just an type error in CSS  Embarrassed
Logged
victor
HCL Member
****
Offline Offline

Posts: 266


WWW
« Reply #2 on: November 26, 2007, 09:34:05 PM »

please share more details of the solution with us.

thanks
Logged

4GoodSolutions
Not too much to say...
*
Offline Offline

Posts: 37


« Reply #3 on: November 27, 2007, 03:17:42 AM »

please share more details of the solution with us.

thanks

My fix was following. I discovered that there is a filed in config.php file that need to have same value as fields in CSS. Otherwise the font size will 'jump' up and down.

So if you for example want 11px font size in chat window, be sure to in config.php change:

  // Text size of the text in the chat window (in pixels)
        $conf['text_size'] = '11';

Now open your templates chat.css and live.css and change body, td, a, .operator, .guest font size to 11px.

That was the only way I succeed to achieve positive result.
Logged
HCL Admin
Administrator
HCL Superstar
*****
Offline Offline

Posts: 882


WWW
« Reply #4 on: November 27, 2007, 09:38:39 AM »

Shoot, I spaced out that part.  My bad.  It's really anachronistic to have it in the Config and in the templates...  Really there should be a template config that would allow all of that info to be used by both the template and the system generated text...  Something to add to the kettle.
Logged

how may I help you today?
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.158 seconds with 20 queries.

Google visited last this page April 09, 2014, 05:24:38 PM