How do I adjust my username and rank to stay above the avatar? They're currently below the avatar.
3 posters
Username and Rank above the avatar.
Rizi Scotch- Forumember
- Posts : 41
Reputation : 2
Language : English
- Post n°1
Username and Rank above the avatar.
levy- Hyperactive
- Posts : 2631
Reputation : 350
Language : English, Romanian
Location : Romania
- Post n°2
Re: Username and Rank above the avatar.
What is your forum version ?
Rizi Scotch- Forumember
- Posts : 41
Reputation : 2
Language : English
- Post n°3
Re: Username and Rank above the avatar.
phpBB3candy_fear wrote:What is your forum version ?
levy- Hyperactive
- Posts : 2631
Reputation : 350
Language : English, Romanian
Location : Romania
- Post n°4
Re: Username and Rank above the avatar.
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');
});
});
Rizi Scotch- Forumember
- Posts : 41
Reputation : 2
Language : English
- Post n°5
Re: Username and Rank above the avatar.
It worked! thanks.
levy- Hyperactive
- Posts : 2631
Reputation : 350
Language : English, Romanian
Location : Romania
- Post n°6
Re: Username and Rank above the avatar.
Glad could I help you .
SLGray- Administrator
- Posts : 51499
Reputation : 3523
Language : English
Location : United States
- Post n°7
Re: Username and Rank above the avatar.
Topic Solved & Locked
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.