Rare Icon Placement Request. [username customization]

Go down

Solved Rare Icon Placement Request. [username customization]

Post by SpyroDragon on August 23rd 2018, 4:35 am

So you know how you can add an Emoji next to a username?



well im doing some re-theming back to the theme I had in 2001 but more skill I used to put into the spyro theme, and this rare placement may be the signature.
is there any possible way, we can add a space to the username right in the middle, and then place the icon dead center of the username to make it look like this?




The icon instead being in the middle , not on the left. 

If this can be done, that would be fantastic.
avatar
SpyroDragon
Forumember

Posts : 390
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

Solved Re: Rare Icon Placement Request. [username customization]

Post by SpyroDragon on August 23rd 2018, 4:53 am

I Solved my own Question.

Resolve = Go to javascript and put 
Code:
$(function(){
  multiColor(1, '<strong><font color="#ffffff">Sp</font><font color="#00ffff">yr</font><font color="#666666">o</font><font color="#00ffff"> <img a="" src="https://i.servimg.com/u/f65/16/87/57/90/testt10.png" />  </font><font color="#ffffff">Dr</font><font color="#00ffff">ag</font><font color="#666666">on</font></strong>');
  function multiColor(id, html){$('a[href="/u'+id+'"] strong').not(function(){return $("img",this)[0]}).html(html)}
});
Replace by yours
Code:
https://i.servimg.com/u/f65/16/87/57/90/testt10.png
avatar
SpyroDragon
Forumember

Posts : 390
Reputation : 2
Language : English

http://tlos.forumotion.net/

Back to top Go down

Solved Re: Rare Icon Placement Request. [username customization]

Post by SLGray on August 23rd 2018, 5:01 am

Thanks for posting the solution.  Next time use the edit button.
Problem solved & topic archived.
Please read our forum rules:  ESF General Rules



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

Male Posts : 44479
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


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