• Resolved ade11

    (@ade11)


    Does the plugin support different font size units other than pixels?

    It seems the logic checks for different units in various places, but in line #110 or thereabouts of DataConfig.php, it only checks for pixels (px) and seems to set the sizes to defaults 10px/30px if other units (eg. ’em’) have been specified.

    I did change this line to test, so $units==='px' becomes ($units==='px'||$units==='em') and this seems to improve things, though obviously this is just for testing and we don’t generally like hacking other people’s plugins.

    As you will of course already know, if we could specify em units or a percent rather than pixels, then we can apply a font size to the container, and the UTCW can then be made truly responsive through our theme’s CSS media queries??

    Your advice appreciated!

    http://wordpress.org/plugins/ultimate-tag-cloud-widget/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘font size units – we'd like to use 'em' or '%'’ is closed to new replies.