Okay
  Public Ticket #749652
Salient Option Tweaks
Closed

Comments

  • Colin started the conversation

    Hey all,

    I was having a hard time differentiating what was off/on inside the Salient theme options because of the current styling, so I went ahead and added some code to the admin via functions.php and thought I would share if anyone else would benefit from it. 

    Add the following lines to your functions.php file inside your child theme:

    // Admin Style Tweaks
    
    function fix_admin() {
    wp_enqueue_style('admin_styles' , get_stylesheet_directory_uri().'/nectar/redux-framework/ReduxCore/assets/css/fix-admin.css');
    } add_action('admin_head', 'fix_admin');

    You are then going to want to add that directory into your child theme with the fix-admin.css file inside.

    Open up your fix-admin.css file and add the following lines (tweak as you like):

    .redux-container-switch .cb-enable,
    .redux-container-switch .cb-disable {
        color: #666 !important;
    } .redux-main .redux-container-switch label:first-child {
        border-right: 1px solid #666 !important;
    } .redux-container-switch .cb-enable.selected {
        color: #0E9414 !important;
        background: #E0F9C3 !important;
    } .redux-container-switch .cb-disable.selected {
        color: #E02929 !important;
        background: #FFE1E1 !important;
    }

    This should fix up the on/off colors for you so it is a little more clear what is actually on or off. Thanks again for the great theme!