Font Size

Font Size is a little plugin that changes dynamically the font size of your web site by Astrid Schäfer


Unzip in /plugins. DIR: /temp = CHMOD 777 [Entpacken im Verzeichnis /plugins, Verzeichnis /temp = CHMOD 777]

Open your template.htm:

  1. before the function head() note <?php echo sprint(); ?>
  2. Note now somewhere in body <?php echo sform();?> = the buttons


<?php echo sprint(); ?>
...<?php echo head(); ?>...
<?php echo sform(); ?>


In the Template-CSS-File you must remove the value “body {font-size: xyz;}”. All other Elements may receive a Font-size value, but with relative units (% - em -ex). [In der Template-CSS-Datei muss font-size aus body entfernt werden. Alle anderen Elemente dürfen Schriftgrößen enthalten, aber mit relativen Einheiten…] Config

  • default = Normal Fontsize in em [Standardschrift in em]
  • min = minimum accepted value [Kleinster zugelassener Wert]
  • max = maximum accepted value [Größter zugelassener Wert]
  • step = Value for the Zoom-Steps [Zoomfaktor Schrittgröße]
  • head = description [Beschreibung]
  • button1 = Button make smaller [Button verkleinern]
  • button2 = Button make standard [Button Standard]
  • button3 = Button make larger [Button vergrößern]

Wiki-Download: FontSize

back to plugins


plugins/font_size.txt · Last modified: 2018/04/05 14:48 (external edit)
Webdesign: NMuD = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0