DIGIT-ARC read-only archive · snapshot: July 23, 2026

Remove Border from smiley images in Wordpress

11 posts · originally from https://geek.digit.in/community/threads/remove-border-from-smiley-images-in-wordpress.80608/

Gigacore
Gigacore Original post #1
Feb 19, 2008 at 5:21 PM
A problem arises when you add image borders. An unwanted ugly border will appear around the smiley whenever you or someone inserts it. This can be eliminated by adding a line of CSS code into your theme’s Stylesheet, keeping the image borders intact.

To remove the border, follow these steps:

1. Go to your wordpress Admin CP.
2. Click on Presentation and the select the theme for which you want to add image border.
3. Click on “Theme Editor”
4. Open “Stylesheet” or “style.css” whatever from the right hand list.
5. Now you must be able see the CSS codes.

Now copy and paste this code in a new line after any “ } “ close tag.

Code:
img.wp-smiley{ border:none;}

This will remove the ugly borders around those smilies keeping image borders intact.

*farm3.static.flickr.com/2160/2276363527_96c0f4b728_o.jpg

Via: My Blog
New
New #2
Feb 19, 2008 at 5:41 PM
Nice sharing.....Thanks...*gigasmilies.googlepages.com/36.gif
Gigacore
Feb 19, 2008 at 5:49 PM
^ lol @ smiley, u are welcome...
New
New #4
Feb 19, 2008 at 5:57 PM
When you are going to release next version?make it in such a way that one can use that in IM also...
Tumba Dhanyavadagalu...
Gigacore
Feb 19, 2008 at 6:00 PM
^ he he.. i think this is not the place to discuss.. anyway.. we guys have bunch of exams on our heads. Will release next version in march or april.
New
New #6
Feb 19, 2008 at 6:03 PM
Sorry...my mistake....Anyway thanks for all....
Gigacore
Feb 19, 2008 at 6:06 PM
^ np dude, but we must follow the forum rules :)
V
vaibhavtek #8
Feb 19, 2008 at 8:36 PM
Amazing tutorial gigacore.
Keep it coming.

Offtopic:-
*gigasmilies.googlepages.com/10a.gif
Gigacore I remember ur last avatar Intel inside that brain one.

For u ur new avatar
*www.jeboavatars.com/images/avatars/215637201067idiotoutside.jpg

Just joke donot take it serious.
I got that three days before so kept for u...!!!

btw can u just PM me that avatar I want to use that one if u still have.
Gigacore
Feb 19, 2008 at 8:38 PM
thanks.

and i'm happy with my current avatar. and for that skull avatar... it has © :D
T
The Conqueror #11
May 19, 2008 at 3:35 PM
Thread Bump alert.btw stop advertising