Font size

Contains tips for configurators working with Aware IM
Post Reply
joftech
Posts: 117
Joined: Thu Oct 19, 2006 10:42 am
Location: Sydney
Contact:

Font size

Post by joftech »

Hi Support,

How do I change the font sizes of themes in V4.

Thanks

Alan
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

You have to edit the CSS files for the themes you want. The CSS files are located in AwareIM/Tomcat/webapps/AwareIM/ext20/resources/css folder. For example, the file corresponding to the Slate theme is called xtheme-slate.css

Don't forget to refresh the browser so that it picks up the changes after you change a CSS file.
Aware IM Support Team
Celtic
Posts: 30
Joined: Sun Apr 12, 2009 3:45 pm
Location: UK

Post by Celtic »

ok, i'm probably being a "muppet" here but i looked through the xtheme-slate.css file and can't find a suitabnly named tag (font-size?) that you need to edit to change the default font size for the theme.

is it this file or the files names "form.css" or 2windows.css" for example

little help?

cheers

Simon.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

The theme file only has settings that are overridden. The default file (ext-all.css) contains all the settings. Look at this file and search for "font" - you will find many places where the size of the font is set. For example, the following setting controls the size of the font in form fields:

.x-form-field{margin:0;font:normal 12px tahoma,arial,helvetica,sans-serif;}

If you need to override this setting, you have to provide your own values with exactly the same name (.x-form-field, in this case) in your theme file.
Aware IM Support Team
Post Reply