Charlie Langridge
Charlie Langridge

Reputation:

Change font size of sifr text

Is there any way to alter the font size of sIFR text after it has been rendered? I am creating a virtual poster mock-up, and I want to be able to have the user alter the size of the text on the fly (and without a refresh).

I've tried altering the font-size of the base text and changeCSS of the .sifr-root and .sifr-active, but can't seem to get it to work.

Upvotes: 1

Views: 1173

Answers (2)

Mark Wubben
Mark Wubben

Reputation: 3349

There currently is no way to change the font size, other than removing the replacement and replacing the text again with a different size.

Upvotes: 1

unwind
unwind

Reputation: 399813

This page documenting sIFR v3 talks about text scaling, with some dire warnings ... But perhaps it works for your use case, and is worth testing?

Upvotes: 0

Related Questions