The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Avatar in the memberlist

View previous topic View next topic Go down

Avatar in the memberlist

Post by nextlevelgaming on October 3rd 2012, 11:28 pm

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Avatar in the memberlist

Post by nextlevelgaming on October 4th 2012, 3:09 am

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 October 4th 2012, 3:16 am; edited 1 time in total

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

Re: Avatar in the memberlist

Post by LGforum on October 4th 2012, 10:01 pm

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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Avatar in the memberlist

Post by nextlevelgaming on October 4th 2012, 10:16 pm

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Avatar in the memberlist

Post by LGforum on October 4th 2012, 10:19 pm

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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Avatar in the memberlist

Post by nextlevelgaming on October 4th 2012, 10:42 pm

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
Forumember

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

http://www.easybbtutorials.forumotion.com

Back to top Go down

Re: Avatar in the memberlist

Post by LGforum on October 4th 2012, 10:43 pm

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
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


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