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.

name in border

3 posters

Go down

In progress name in border

Post by Builderbox October 1st 2015, 4:43 pm

How can i add Posts,Birthday,Jon date and the rest in border like here : name in border Previe12
Builderbox
Builderbox
Forumember

Male Posts : 150
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by Builderbox October 1st 2015, 8:40 pm

bump!
Builderbox
Builderbox
Forumember

Male Posts : 150
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by SLGray October 2nd 2015, 12:06 am

Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!



name in border 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 : 51499
Reputation : 3523
Language : English
Location : United States

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

Back to top Go down

In progress Re: name in border

Post by Ange Tuteur October 2nd 2015, 9:24 pm

Hi @Builderbox,

Do you want this in the post profile, or the profile page ?
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: name in border

Post by Builderbox October 4th 2015, 1:30 pm

post
Builderbox
Builderbox
Forumember

Male Posts : 150
Reputation : 1
Language : English

http://pwnyswtor.rpdforum.com/

Back to top Go down

In progress Re: name in border

Post by Ange Tuteur October 4th 2015, 4:27 pm

Okay, go to Display > Templates > General and open the template viewtopic_body. Edit

Find :
Code:
                     <!-- BEGIN profile_field -->
                     {postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
                     <!-- END profile_field -->

Replace by :
Code:
                     <!-- BEGIN profile_field -->
                                                  <div class="profile-field">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
                     <!-- END profile_field -->

Save and publish. Add


Then go to Display > Colors > CSS stylesheet and add the following rules to your stylesheet :
Code:
.profile-field {
  background:#EEE;
  border:1px solid #CCC;
  border-radius:3px;
  margin:3px 0;
  padding:3px;
}

You can change the colors ( EEE, CCC ) if you want. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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