Title: PKRG's Replies | WordPress.org

---

# PKRG

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

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

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Compose WP] Navigation.js is missing](https://wordpress.org/support/topic/navigationjs-is-missing/)
 *  Thread Starter [PKRG](https://wordpress.org/support/users/pkrg/)
 * (@pkrg)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/navigationjs-is-missing/#post-6331093)
 * Thank you for pointing the line to comment.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Emoji and smiley js and css added to head](https://wordpress.org/support/topic/emoji-and-smiley-js-and-css-added-to-head/)
 *  [PKRG](https://wordpress.org/support/users/pkrg/)
 * (@pkrg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/emoji-and-smiley-js-and-css-added-to-head/page/3/#post-6051248)
 * [@lamentira](https://wordpress.org/support/users/lamentira/),
 * Thanks for your suggestion but I rather prefer not to alter the core files.
 * I added the function hook from Classic Smilies plugin directly to my functions.
   php.
 *     ```
       function disable_emojis() {
       	remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
       	remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
       	remove_action( 'wp_print_styles', 'print_emoji_styles' );
       	remove_action( 'admin_print_styles', 'print_emoji_styles' );
       	remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
       	remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
       	remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
       }
       add_action( 'init', 'disable_emojis' );
       ```
   
 * But the size of my “old” smileys was still bypassed by the hardcoded size added
   on each smiley (style=”height: 1em; max-height: 1em;”)
 * but thanks to classic smilies code, I was able to style them
 *     ```
       img.wp-smiley, img.emoji {
       height: auto!important;
       max-height:100%!important;
       width: 100%!important;
       }
       ```
   
 * The problem is solved on my case.
 * Thanks for your help
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Emoji and smiley js and css added to head](https://wordpress.org/support/topic/emoji-and-smiley-js-and-css-added-to-head/)
 *  [PKRG](https://wordpress.org/support/users/pkrg/)
 * (@pkrg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/emoji-and-smiley-js-and-css-added-to-head/#post-6050983)
 * Hi folks,
 * Since the new wordpress 4.2 update, I can see a class added but also a style 
   added on every smiley
 * such as
    <img src=”[http://www.domain.com/wp-content/smilies/smiley.gif&#8221](http://www.domain.com/wp-content/smilies/smiley.gif&#8221);
   alt=”:smiley:” class=”wp-smiley” **style=”height: 1em; max-height: 1em;**“>
 * So I can not overide that in CSS and my smiley looks ridiculously small. Any 
   guess how to get rid of that ?
 * It’s quite a pain to waste time fixing something that was not broken before T_T
 * Thanks in advance for any help.

Viewing 3 replies - 1 through 3 (of 3 total)