The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

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.

    ‘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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed