Username and Rank above the avatar. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Username and Rank above the avatar.

    avatar
    Rizi Scotch
    Forumember


    Male Posts : 41
    Reputation : 2
    Language : English

    Solved Username and Rank above the avatar.

    Post by Rizi Scotch October 9th 2013, 9:36 pm

    How do I adjust my username and rank to stay above the avatar? They're currently below the avatar.
    levy
    levy
    Hyperactive


    Male Posts : 2632
    Reputation : 350
    Language : English, Romanian
    Location : Romania

    Solved Re: Username and Rank above the avatar.

    Post by levy October 9th 2013, 9:37 pm

    What is your forum version ?
    avatar
    Rizi Scotch
    Forumember


    Male Posts : 41
    Reputation : 2
    Language : English

    Solved Re: Username and Rank above the avatar.

    Post by Rizi Scotch October 9th 2013, 9:40 pm

    candy_fear wrote:What is your forum version ?
    phpBB3
    levy
    levy
    Hyperactive


    Male Posts : 2632
    Reputation : 350
    Language : English, Romanian
    Location : Romania

    Solved Re: Username and Rank above the avatar.

    Post by levy October 9th 2013, 9:49 pm

    Go in Administration Panel -> Modules -> HTML & Javascript -> Javascript Management -> Create a new javascript name what you want, tick in topics and add that

    Code:
    $(document).ready(function(){
      $('.post .postprofile').each(function(){
        var bef = $(this).find('dl dt a:has("img")');
        $(this).find('dl dt strong:has("a")').insertBefore(bef);
        $(this).find('dl dt strong:has("a")').after('<br>');
        $(this).find('dl dt').next('dd').insertBefore(bef);
        $(this).find('dl dt dd').wrapInner('<div class="rank_dd"></div>');
        $(this).find('dl dt dd .rank_dd').unwrap().css('margin-top','5px').css('margin-bottom','5px');
      });
    });
    Is very important to have the javascript enabled.
    avatar
    Rizi Scotch
    Forumember


    Male Posts : 41
    Reputation : 2
    Language : English

    Solved Re: Username and Rank above the avatar.

    Post by Rizi Scotch October 11th 2013, 9:15 pm

    It worked! thanks.
    levy
    levy
    Hyperactive


    Male Posts : 2632
    Reputation : 350
    Language : English, Romanian
    Location : Romania

    Solved Re: Username and Rank above the avatar.

    Post by levy October 11th 2013, 9:18 pm

    Glad could I help you . cheers
    SLGray
    SLGray
    Administrator
    Administrator


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

    Solved Re: Username and Rank above the avatar.

    Post by SLGray October 11th 2013, 11:40 pm

    Topic Solved & Locked



    Username and Rank above the avatar. Slgray10

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