Support » Themes and Templates » Images left – not smilies

  • Resolved pizzaman


    In a post, I have images float left with text wrapping using css. Problem is my smilies end up doing the same thing. Is there a way to EXCLUDE just the smilies from floating?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kafkaesqui


    Emoticon images are given a class of ‘wp-smiley’ — so you can add to your stylesheet something like:

    img.wp-smiley {
    float: none;



    Thanks Kaf. I’ve never seen that class documented.



    Good point. I’ll see about adding something on it to the Using Smilies doc.

    i have same problem but with border css. all images use css to display border and problem smilies end up doing the same there any way to EXCLUDE the border for smilies?
    i have tried something like:
    .wp-smiley {
    border: 0pt none;
    margin: 0px;
    padding: 0px;
    vertical-align: middle;

    but it doesn’t work

    can someone tell me how to solve? thankyou very much

    If all you’re worried about is how the smileys appear in the content of your posts, use:

    .storycontent .wp-smiley {
         border: 0;

    This assumes .storycontent is the class you use for the content of your posts.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Images left – not smilies’ is closed to new replies.