R – sIFR – Can’t ‘textalign’ the tag – frustrated

sifr

Greetings! Started experimenting with sIFR3 today and am in love! So great!

For the life of me, however, I can't get what seems to be something so trivial to happen: Center align my tag:

Example Page Here

In my sifr-config.js, I have:

sIFR.replace(serif, {
selector: 'h2', css: '.sIFR-root { textalign: center; }'
});

.. and yet no joy.

Any feedback and direction would most appreciated!

Thank you.

Best Answer

That'd probably be because the valid CSS property name is text-align, not textalign.