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.

Can a border be put around the Avatar pics?

View previous topic View next topic Go down

In progress Can a border be put around the Avatar pics?

Post by ShinGamix on May 4th 2012, 2:22 pm

I was wandering if a border or an overlay pic could be put behind as a default Avatar border?

ShinGamix
Forumember

Male Posts : 181
Reputation : 3
Language : English

http://shingamix.forumotion.com/

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by Nera. on May 4th 2012, 4:38 pm

AP > Display > Templates > viewtopic_body

Change this:

Code:
{postrow.displayed.POSTER_AVATAR}

With this:

Code:
<span class="avic">{postrow.displayed.POSTER_AVATAR}</span>

Save and publish template on the green cross.

Than add this to CSS:

Code:
.avic img {
    border: 1px solid black;
}

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by Ravhi1044 on May 6th 2012, 5:21 pm

can i do it on Invison ?? Question

Ravhi1044
New Member

Posts : 19
Reputation : 1
Language : indonesia
Location : Bogor, West Java

http://www.snbbogor.co.cc

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by ShinGamix on May 6th 2012, 8:58 pm

That is great to finally know but in my forum's CSS all I can find even with the word poster is line 571

Code:
table.bodylinewidth img#i_logo,.browse-arrows,.noprint,.messaging,.post-options,.poster-profile,img.i_icon_online,table.bodylinewidth .mainmenu,table.bodylinewidth .nav,table.bodylinewidth .gensmall,span.postdetails img,table.bodylinewidth .sig,table.bodylinewidth .catbottom,#info_open {
   display:none;
   }

and the only display avatar line is 891
Code:
.avatar {
   width: 50px;
   border: 1px solid #ffffff;
   background-color: #fff;
   }
.avatar img {
   width: 50px;
   }

So I guess I am saying I don't knmow how to put this in right.

ShinGamix
Forumember

Male Posts : 181
Reputation : 3
Language : English

http://shingamix.forumotion.com/

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by SLGray on May 6th 2012, 9:51 pm

The only thing that you do with CSS is add this:
Code:
.avic img {
    border: 1px solid black;
}

The rest is located in the templates.
Administration Panel > Display > Templates > viewtopic_body



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by ShinGamix on May 7th 2012, 1:25 am

oh templetes. I was really busy earlier and I overlooked that part sorry. Going to try again now. thanksx.

ShinGamix
Forumember

Male Posts : 181
Reputation : 3
Language : English

http://shingamix.forumotion.com/

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by ShinGamix on May 7th 2012, 3:05 am

It worked thanks@@!!

Can an image be used as a border?

ShinGamix
Forumember

Male Posts : 181
Reputation : 3
Language : English

http://shingamix.forumotion.com/

Back to top Go down

In progress Re: Can a border be put around the Avatar pics?

Post by SLGray on May 7th 2012, 3:07 am

@ShinGamix wrote:oh templetes. I was really busy earlier and I overlooked that part sorry. Going to try again now. thanksx.

@ShinGamix wrote:It worked thanks@@!!

Can an image be used as a border?

Please don't double/triple post. This is your second reminder about this. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.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