The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Avatar in the memberlist

2 posters

Go down

Avatar in the memberlist Empty Avatar in the memberlist

Post by nextlevelgaming Thu 4 Oct - 0:28

Hey guys need the css code for the avatar in the memberlist Smile

all I have is
Code:
<a href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a>

and I would have figured there would be something like <img src="{AVATAR_IMG}" width="" height=""/> but nope

so maybe in CSS i never really used it expect the .avatar-mini

thanks guys
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by nextlevelgaming Thu 4 Oct - 4:09

yeah i believe that is what I'm looking for i'll let ya know if it works rideem, im still getting used to the css selectors for pun

Nope did not work. example what I'm talking about

http://upstategaragesales.forumotion.com/memberlist


Last edited by nextlevelgaming on Thu 4 Oct - 4:16; edited 1 time in total
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by LGforum Thu 4 Oct - 23:01

If you have access to the templates just add a classname.
Code:
<a class="avatar-mini" href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a>
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by nextlevelgaming Thu 4 Oct - 23:16

yeah rideem i use firebug all the time Smile and LG, I believe i tried that, and if not i will and let you all know. thanks for the responses guys
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by LGforum Thu 4 Oct - 23:19

Well adding a classname can't not work lol. If it has a classname, then you can style it in the CSS. If that didn't work for you then, your CSS was wrong. lol

What exactly are you trying to do to the memberlist?
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by nextlevelgaming Thu 4 Oct - 23:42

Ok so I fixed the issue. It was not just simply adding a css selector, what I did was give a CSS selector in the <a href="" class=""> and then add this to the css

Code:
.avatarmini img{width:50%;}

that worked. adding .avatarmini alone was not working!
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

http://www.easybbtutorials.forumotion.com

Back to top Go down

Avatar in the memberlist Empty Re: Avatar in the memberlist

Post by LGforum Thu 4 Oct - 23:43

Well no it wouldn't lol. You would need to target the img. I assumed you'd know that... that's how selectors work.

Anyway well done.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum