How to disable body: font-size: 100% style being added to the HTML Head tag?
duvien - March 13, 2008 - 23:34
| Project: | Text Size |
| Version: | 5.x-1.3.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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,

#1
Set in: "admin/settings/textsize" under "Advanced settings" the "Text Size Normal" to a lower value.
#2
Thanks, 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.
#3
Yes, the Page Style module http://drupal.org/project/pagestyle
#4
Automatically closed -- issue fixed for two weeks with no activity.
#5
I 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?
#6
Here 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).
#7
I 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.
#8
I think 5% increment steps are enough (http://drupal.org/node/361238), or are more helpfull (for technical or science sites)?
#9
Now, more text size values are available (0 - 999%) in the latest Drupal 6 release. For Drupal 5 also?
#10
Automatically closed -- issue fixed for 2 weeks with no activity.