Grow your CSS skills. Land your dream job.

Option Tree – Fallbacks?

  • # March 26, 2013 at 10:49 pm

    So I am using OT to try and add some user-end options. I am working off building it from another theme’s ‘theme-options.php’ file and things are going rather well. However I am making an option for font size change and I’d like to use rem units with a px based fallback if possible.

    array(
    ‘label’ => ’12px’,
    ‘value’ => ’12px’
    ),

    Is there a way to do something like.. ’1.2rem , 12px’ ?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".