• My problm is that my images on post have a border, the CSS is like this:
    .postentry img {
    border: 5px solid #edf2ff;
    }
    .postentry img:hover {
    border: 5px solid #efefef;
    }

    It didn’t have anytthing for the smilies, if I want to put one on the post it will have the border, so I search in others themes that have that and I found this:

    .postentry img.wp-smiley{
    padding: 0;
    border: 0;
    background: none;
    }

    I add it but it doesn’t working, who can help me?

    My other problem is that I would like to add an image for listings, instead of that ugly black point ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The CSS code looks okay (what you’re looking for is the “border:none”), but you’re going to have to do something a little extra when you use a smiley:

    <img src=”path/to/smiley.gif” class=”wp-smiley”>

    That applies the wp-smiley class (CSS code) to the smiley image. Otherwise, the display will default to the bordered image.

    Thread Starter kreativ

    (@kreativ)

    My problem is fixed now, it took a while to work, but it worked.
    Who can help me with the listings dots?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Css problems, how to avoid borders for smilies’ is closed to new replies.