The font size switch don't work for definition of the words from Glossary module.

Comments

ionuts71’s picture

Component: User interface » Code

??? No solutions?

derjochenmeyer’s picture

its not working because the definitions are probably assigned with a fixed (absolute) font-size. Thats an issue of the Glossary module.

there is nothing that you can do about it, but edit the css that comes with the Glossary module.

nancydru’s picture

There are a very few fonts declared like this:

dl.glossary-list > dd {
  font-weight: normal;
  font-size: x-small;
  margin-left: 15px;
}

Is this consider fixed size? All others are in percentages.

derjochenmeyer’s picture

what you can do is use Firefox in combination with the Firebug plugin ... rightclick on the "definition of the words" and chose "Inspect Element" ... it will show you which css definitions are responsible for the display >> then you can change them ..

i think x-small is the problem here .. the fontsizer just changes the basefont size .. so only fonts relative to the basefont are affected by resizing ..

nancydru’s picture

I found this: http://style.cleverchimp.com/font_size_intervals/altintervals.html

I have changed all fonts to percentages.

I would suggest reading the article as it details problems of going small with fonts. Perhaps this theme can allow other sizes, for example, larger than 100%?