Closed (fixed)
Project:
Text Size
Version:
5.x-1.3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2008 at 23:34 UTC
Updated:
5 Jun 2012 at 09:20 UTC
Thanks for releasing this module. I've just tried it out and it seems that it adds:
<style type="text/css" media="screen, projection, tty, tv, print">
<!--
/* <![CDATA[ */
body {
font-size: 100% !important;
}
/* ]]>*/
-->
</style>
to the HEAD tag. This makes my default site font very large. I've tried setting it to 10% but no change. Is there a way to disable adding the style to the HTML HEAD tag?
thanks,
Comments
Comment #1
CZ commentedSet in: "admin/settings/textsize" under "Advanced settings" the "Text Size Normal" to a lower value.
Comment #2
onejam commentedThanks, i did that it's back to normal now. :)
I see on your demo you also have the ability to change the page colour? is this another one of your modules? Sorry for being off-topic but i just thought it was pretty neat to be able to apply this as well.
Comment #3
CZ commentedYes, the Page Style module http://drupal.org/project/pagestyle
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
jmlane commentedI assume that this is due to how percentages applied to font size units varies from one case to another, so there may not be a perfect way to solve this issue in the module:
I think that, by default, the module's "normal size" value should be the exact font size of the original theme. At the moment, it seems to slightly increase the font size by default, for both Garland and Drupify themes (I did not test many).
Any thoughts?
Comment #6
silurius commentedHere I was thinking I had somehow screwed up font sizes on my site, since I was still developing my theme. I agree with jmlane and think that "normal" should conform with the active theme's current status quo. Or alternatively, at least make it a little clearer that the module redefines "normal". (For the record, I'm using a Zen subtheme).
Comment #7
CZ commentedI do not agree with jmlane. The "Textsize Normal" have to be "100%" or we made the user confuse (with a Textsize Normal of example "98%" ???). The theme must have set the textisize in "em"! Body textsize of example 98% and the content of 95% is not a clear way to handle the textsize. Because the content textize is not 95% of real normal (body) textsize (100%). So the best way is a body textize in "%" and the content in "em".
We can disucuss about the increase and decrease steps.
Comment #8
CZ commentedI think 5% increment steps are enough (http://drupal.org/node/361238), or are more helpfull (for technical or science sites)?
Comment #9
CZ commentedNow, more text size values are available (0 - 999%) in the latest Drupal 6 release. For Drupal 5 also?
Comment #11
dargno commentedWhen you set the HTML textsize to 12px or whatever you prefer, and the body size is set to 100% by the module, you can use em for all the other font sizes and line-heights, which will scale perfectly.