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.

Can a border be put around the Avatar pics?

4 posters

Go down

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

Post by ShinGamix 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
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. 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.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

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

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

can i do it on Invison ?? Question
Ravhi1044
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 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
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 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



Can a border be put around the Avatar pics? Slgray10

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

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by ShinGamix 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
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 May 7th 2012, 3:05 am

It worked thanks@@!!

Can an image be used as a border?
ShinGamix
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 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!


Can a border be put around the Avatar pics? Slgray10

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

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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