WordPress.org

Ready to get started?Download WordPress

Forums

CMSify
Header Icon (2 posts)

  1. Rics1983
    Member
    Posted 2 years ago #

    I've tried to use the header icon option uploading a 16x16 png icon file but after i clicked on "insert into the post", the image uploader remains blocked and then, after clicking on the wp windows and after the uploader go away, i've the uploaded icon url into the header icon field, and if i click on save changes nothing happen.
    The WP logo still remain into the header.

    http://wordpress.org/extend/plugins/cmsify/

  2. Rics1983
    Member
    Posted 2 years ago #

    Probably i've found the problem, the style to override is
    #wp-admin-bar-wp-logo > .ab-item .ab-icon
    No more the
    #header-logo

    In the meantime that the plugin is fixed i've used this code into functions.php:

    // ADMIN CUSTOM LOGO
    function custom_logo() {
      echo '<style type="text/css">
        #wp-admin-bar-wp-logo > .ab-item .ab-icon { background-image: url('.get_bloginfo('template_directory').'/images/icon-header.png) !important; background-position: 0 0 !important;}
        #wpadminbar.nojs #wp-admin-bar-wp-logo:hover > .ab.item -ab-icon, #wpadminbar #wp-admin-bar-wp-logo.hover > .ab-item .ab-icon{background-position: 0 -16px !important;}
        </style>';
    }
    add_action('admin_head', 'custom_logo');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic