WordPress.org

Support

Support » How-To and Troubleshooting » Cross browser dashboard customization

Cross browser dashboard customization

  • I have this code in my functions

    add_action('admin_head', 'my_custom_css');
    
    function my_custom_css() {
       echo '<style type="text/css">
             #header-logo { background-image: url('.get_bloginfo('template_directory').'/images/logo.jpg) !important; }
           #wphead h1 a  {color:white;}
           #wphead {background: -moz-linear-gradient(center bottom , #464646, #464646) repeat scroll 0 0 transparent;}
           #user_info a:link, #user_info a:visited, #footer a:link, #footer a:visited { color: white;  text-decoration: none;}
           #user_info p {color: #f1f1f1;}
           #footer {background: -moz-linear-gradient(center bottom , #464646, #464646) repeat scroll 0 0 transparent;}
           #footer-left {color:#e2e2e2;}
           </style>';
    }

    Everything is great on firefox but the background doesn’t work on chrome. Can you help me?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cross browser dashboard customization’ is closed to new replies.
Skip to toolbar