Title: Adding Custom Post Type Icons
Last modified: August 20, 2016

---

# Adding Custom Post Type Icons

 *  Resolved [michaelw90](https://wordpress.org/support/users/michaelw90/)
 * (@michaelw90)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/adding-custom-post-type-icons/)
 * I need some help with getting the menu bar icon to change from the standard icon.
 * I have a Custom Post Type that i call “Property” and I wanted to change the icon
   for it.
 * This is the code I wrote in my posttypes.php-file.
 *     ```
       add_action( 'admin_head', 'property_icons' );
       function property_icons() {
       	?>
       	<style type="text/css" media="screen">
       		#menu-posts-property .wp-menu-image {
       			background: url(<?php bloginfo('url') ?>/wp-content/themes/images/propertysmall.png) no-repeat 6px !important;
       		}
       		.icon32-posts-property {
       			background: url(<?php bloginfo('url') ?>/wp-content/themes/images/property.png) no-repeat !important;
       		}
   
       	</style>
       ```
   
 * The problem is that it’s only showing the big 32icon and not the 16 in the menu.
   What am I doing wrong?

Viewing 1 replies (of 1 total)

 *  Thread Starter [michaelw90](https://wordpress.org/support/users/michaelw90/)
 * (@michaelw90)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/adding-custom-post-type-icons/#post-3169676)
 * So sorry, I just realized that it was the “Bootstrap Admin” plugin i had that
   messed things up. When I deactivated it, everything worked as it should.

Viewing 1 replies (of 1 total)

The topic ‘Adding Custom Post Type Icons’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [michaelw90](https://wordpress.org/support/users/michaelw90/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/adding-custom-post-type-icons/#post-3169676)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
