WordPress.org

Ready to get started?Download WordPress

Forums

Smiley help (4 posts)

  1. slooude
    Member
    Posted 7 years ago #

    I'm trying to add smilies to my site but because I have a dark background they always show with a border around them. I'm using custom smilies plugin and have tried all kinds of fixes like using transparent pngs and colouring the background of each smiley the same as the site background it just doesn't seem to work does any body know how to get around this.

    You can see my problem at slooude.net at the moment there is a white background around them but thats not the problem (these images don't have a transparent background) it's the dark box around them i want to get rid of and when I make transparent pngs i just get dark box as a background.

  2. Nicki Faulk
    Member
    Posted 7 years ago #

    Check your stylesheet in your theme's directory for ".wp-smiley" - your stylesheet is adding the border and any other attributes listed there.

  3. JamesICT
    Member
    Posted 7 years ago #

    I would recommend adding this line to your css:

    #main .wp-smiley { border:0px }

  4. slooude
    Member
    Posted 7 years ago #

    excelent worked a charm thank you very much guys.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.