Help Center Live Community

Support => Installation Help & Software Support => Topic started by: 4GoodSolutions on November 24, 2007, 03:55:02 AM



Title: Font size resizes automatically
Post by: 4GoodSolutions 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.


Title: Re: Font size resizes automatically
Post by: 4GoodSolutions on November 25, 2007, 05:19:43 PM
I have found and solved this problem. Just an type error in CSS  :-[


Title: Re: Font size resizes automatically
Post by: victor on November 26, 2007, 09:34:05 PM
please share more details of the solution with us.

thanks


Title: Re: Font size resizes automatically
Post by: 4GoodSolutions 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.


Title: Re: Font size resizes automatically
Post by: HCL Admin 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.