Fix margins on WordPress smileys
-
Thanks for the update – I think the new version looks great and it seems faster too.
I noticed on one of my sites that smilies in the content of my blog were displayed with top and bottom margins rather than inline with the text. Thanks to the available hooks in WPTouch this was easily fixed with:
/** Correct smiley margins in WPTouch */ function smiley_margin() { echo "<style type=\"text/css\">img.wp-smiley { margin: 0; }</style>"; } add_action('wptouch_post_head', 'smiley_margin');It would be nice if that CSS could be added to the foundation CSS in a future version.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Fix margins on WordPress smileys’ is closed to new replies.