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

    Profile Template : Custom

    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Profile Template : Custom

    Post by Bones! 15/2/2015, 04:05

    Okay, So i'm going to sound vague... because I honestly have no idea how to explain this... but here I go... I guess...

    So the place to edit where someone's profile is displayed (like how it is to the left) is...

    ACP > Display > Templates > General OR Profile?
    ---- And which menu?

    So with that... I want to have it so like if you hover over the avatar, it displays some information, like the posts and stuff in that. I'm used to doing this on other forums, and I can't quite test it out on my own forum because of the traffic, nor make a new forum to try it because of the amount of things I run on my forum's Profile.

    EX:


    Last edited by Kaseki on 27/3/2015, 00:31; edited 1 time in total
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 15/2/2015, 16:49

    I guess the first thing I'm trying to do... is put a border code over the entire profile... 

    Would that be the table code, or what is that?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Profile Template : Custom

    Post by _Twisted_Mods_ 15/2/2015, 17:44

    acp>general>forum>configuration>pages structure
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 21/2/2015, 21:08

    Now say I wanted to put a box around the profile, how do I go about that?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Profile Template : Custom

    Post by _Twisted_Mods_ 21/2/2015, 21:37

    acp>display>color>css tab

    add one of the codes below that fits best for what your wanting

    Code:
    .postprofile{box-shadow:0px 0px 5px #38184A,0px 0px 5px #38184A  }
    Code:

    .postprofile{box-shadow:0px 0px 5px #38184A inset,0px 0px 5px #38184A  inset}

    Code:
    .postprofile{border:2px solid #38184A}
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 24/2/2015, 06:29

    That wasn't what I expected... AWESOME..

    But like... if I wanted to edit the font size of how the usernames are displayed, how do I change that?

    I apologize if I respond late, or if what I'm asking is too much.
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 7/3/2015, 23:03

    So where would I put a code to center the avatar?
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 12/3/2015, 20:52

    Bump?
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 14/3/2015, 08:59

    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Profile Template : Custom

    Post by _Twisted_Mods_ 14/3/2015, 09:02

    Code:
    .postprofile a[href^="/u"] img{margin-left:auto;margin-right:auto;}
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 14/3/2015, 23:39

    _Twisted_Mods_ wrote:
    Code:
    .postprofile a[href^="/u"] img{margin-left:auto;margin-right:auto;}
    It's not working...
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 23/3/2015, 19:44

    Bump?

    Is there a way to just edit the profile template?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & æ—„æœŹèȘž
    Location : Pennsylvania

    Solved Re: Profile Template : Custom

    Post by Ange Tuteur 23/3/2015, 22:58

    Of course, the postprofile can be found in Display > Templates > General > viewtopic_body

    A majority of what you want can be achieved with some CSS, though. Add these rules to your stylesheet :
    Code:
    .postprofile dt { text-align:center } /* center ava / name */
    .postprofile dt strong { font-size:16px } /* name size */

    /* profile info hover */
    .postprofile dd {
      visibility:hidden;
      opacity:0;
      height:0;
      -webkit-transition:300ms;
        -moz-transition:300ms;
          -o-transition:300ms;
              transition:300ms;
    }
    .postprofile:hover dd {
      visibility:visible;
      opacity:1;
      height:auto;
    }
    Bones!
    Bones!
    Forumember


    Posts : 173
    Reputation : 20
    Language : English, CCS, HTML
    Location : Behind you

    Solved Re: Profile Template : Custom

    Post by Bones! 26/3/2015, 15:39

    Ange Tuteur wrote:Of course, the postprofile can be found in Display > Templates > General > viewtopic_body

    A majority of what you want can be achieved with some CSS, though. Add these rules to your stylesheet :
    Code:
    .postprofile dt { text-align:center } /* center ava / name */
    .postprofile dt strong { font-size:16px } /* name size */

    /* profile info hover */
    .postprofile dd {
     Â visibility:hidden;
     Â opacity:0;
     Â height:0;
     Â -webkit-transition:300ms;
     Â    -moz-transition:300ms;
     Â      -o-transition:300ms;
     Â         transition:300ms;
    }
    .postprofile:hover dd {
     Â visibility:visible;
     Â opacity:1;
     Â height:auto;
    }

    That works too, thanks!

    (I was trying to use less CSS because I was getting close to maxing it out again.. though it seemed to work this time.)

      Current date/time is 23/9/2024, 11:26