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.
The forum of the forums
3 posters

    name in border

    Builderbox
    Builderbox
    Forumember


    Male Posts : 150
    Reputation : 1
    Language : English

    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

    In progress Re: name in border

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

    bump!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    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.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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 ?
    Builderbox
    Builderbox
    Forumember


    Male Posts : 150
    Reputation : 1
    Language : English

    In progress Re: name in border

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

    post
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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

      Current date/time is November 11th 2024, 10:17 pm