Changing Font Size of Fit-Text Section
Posted 07 August 2012 - 08:01 PM
I am trying to change the styling of the fit-text section in the wrap of the sidebar.
Using Firebug & the Custom CSS section i have added
this successfully made changes to the padding and also to the alignment of the text but not the font size.
any know what i am doing wrong?
Thanks in advance
Posted 07 August 2012 - 09:57 PM
Posted 07 August 2012 - 10:00 PM
Posted 07 August 2012 - 10:06 PM
Posted 07 August 2012 - 10:23 PM
You can try this to effectively override the resizing. Let me know if it works
Posted 07 August 2012 - 11:16 PM
Posted 09 October 2012 - 07:31 PM
My goal is to have FitText fill the horizontal space without adding any vertical space to the page beyond what is needed for the string to fit on one line. In other words, assume a container that is the page width (930px max), take my text and make it fit (select a font size) that space on one line (unless I've included some br tags).
In every text of more than two words—and though it's unwanted—FitText is breaking the string into multiple lines for me at present. Try using this as a string for your own test: "Big value. Small price."
First question: from reading James’ reply here, I'm not sure that the container height gets figured into how FitText works inside PL. Is that true? From docs around on the web—and from instances of people using the fittext.js script— I'm only seeing single-line uses (as one would expect).
This makes me wonder if the multi-line stuff happening inside PL is a matter of not-quite-right implementation. I say this because changing the height of the fittext-container does nothing but crop my text, not resize it to fit.
Second question: is there any access to what FitText calls the Compressor and the minFontSize / maxFontSize settings? (NOTE: According to their docs on GitHub, they ignore font-size and use those other two instead.)
Posted 11 October 2012 - 10:17 AM
Posted 11 October 2012 - 10:36 AM
Can you do as Greenfly suggested and create a new topic please.