News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How to Remove the Image Borders of User Avatars

Started by Coaxs, January 06, 2008, 04:35:25 PM

Previous topic - Next topic

Coaxs

I would like to know which file I can edit to set the avatar's image border attribute to zero. I've digged through the sources/themes folder but can't find anything.

The avatar parameter looks like: $message['member']['avatar']['image']

Now, where can I edit this array?
Chemical Forums
www.chemicalforums.com

Booger Bear

Remove/edit this code from your style_sphinx.css file

.user-avatar img {
float: right;
margin: 0 0 10px 10px;
border-top: 2px solid #8E8E8E;
border-right: 2px solid #7C7C7C;
border-bottom: 2px solid #242424;
border-left: 2px solid #363636;
}

codenaught

Still need help with this coaxs?

Booger Bear, that may be the case if the user is using that theme, do you know that they are?

Since avatars don't normally have borders around them, that may be the case actually.
Dev Consultant
Former SMF Doc Coordinator

Advertisement: