daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'admin_head', 'my_icons' );
  2. function my_icons() {?>
  3. <style type="text/css" media="screen">
  4.  #menu-posts-product .wp-menu-image {
  5.  background: url(<?php bloginfo('url') ?>/wp-content/themes/BootWp/img/contactLensemenu.png) no-repeat 6px !important;}
  6.  .icon32-posts-product {
  7.  background: url(<?php bloginfo('url') ?>/wp-content/themes/BootWp/img/contactLensepage.png) no-repeat !important;
  8.     }
  9. </style>
  10. <?php }
  11.    
  12. add_action( 'admin_head', 'my_icons' );
  13.  
  14. function my_icons() { ?>
  15.  <style type="text/css" media="screen">
  16.  #menu-posts-product .wp-menu-image, .icon32-posts-product {
  17.      background: url(<?php echo get_template_directory_uri();  ?>/img/contactLensemenu.png) no-repeat center center!important;
  18.  }
  19.  #menu-posts-product .wp-menu-image { background-size:16px 16px!important; }
  20.  .icon32-posts-product { background-size:32px 32px!important; }
  21.  </style>
  22. <?php } ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top