Title: Yuriy Sorochev's Replies | WordPress.org

---

# Yuriy Sorochev

  [  ](https://wordpress.org/support/users/cheff/)

 *   [Profile](https://wordpress.org/support/users/cheff/)
 *   [Topics Started](https://wordpress.org/support/users/cheff/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cheff/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cheff/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cheff/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cheff/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cheff/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to add image or icon to Page menu item](https://wordpress.org/support/topic/how-to-add-image-or-icon-to-page-menu-item/)
 *  [Yuriy Sorochev](https://wordpress.org/support/users/cheff/)
 * (@cheff)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/how-to-add-image-or-icon-to-page-menu-item/#post-1620795)
 * For example, you can add your gravatar as follow:
 *     ```
       ul > li.gravatar > a,
       ul > li.gravatar > a:hover{
               display:block;
               padding-left:36px !important;
               line-height:36px;
               background-image:url(http://www.gravatar.com/avatar/9612f6e40110aaafcff8ab3cec54dc6e?s=32)!important;
         	background-position:left center !important;
         	background-repeat:no-repeat !important;
       }
       ```
   
 * Then go to the _Appearance\Menus_, select your custom menu item and add “gravatar”
   class (with no quotes) to it in the CSS Classes text input field. If you do not
   see it, just click on the Screen Options link at the upper right corner of the
   window and check CSS Classes checkbox.
 * The menu item will look like at the example: [http://2010.test.thethefly.com/](http://2010.test.thethefly.com/)

Viewing 1 replies (of 1 total)