• Hi.

    Guys i need some help.I am using option tree in my theme and i have some problum in color picker implementation.

    my code is in function.php file that is

    .tags-single ul li a:hover{
    <?php $theme_color = ot_get_option(‘theme_color’);
    if(isset ($theme_color) && $theme_color != “”){?>
    background-color: <?php echo $theme_color;?>
    color: #fff;
    <?php } else { ?>
    background-color: #000 !important;
    color: #fff;
    <?php } ?>
    }

    is this right according to themeforest requirements.

    https://wordpress.org/plugins/option-tree/

  • The topic ‘Option Tree Color Picker’ is closed to new replies.