The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Having an image for a username

View previous topic View next topic Go down

Solved Having an image for a username

Post by Derp-chan on October 6th 2014, 8:16 pm

I did find one topic on this, but using the code from it resulted in the image showing up 3 times around my avatar.

It shows up fine on the main page, but just not in my posts. Any way to fix it?
The code I'm using
Code:
a[href="/u2"] { font-size:0; }
a[href="/u2"]:after {
  content:url('http://i.imgur.com/AULOGXw.png');

Derp-chan
Forumember

Female Posts : 27
Reputation : 1
Language : English

http://forumthingwhatever.forumotion.com/

Back to top Go down

Solved Re: Having an image for a username

Post by Soul on October 6th 2014, 8:23 pm

Hello Derp-chan,
Are you wanting it to just show your avatar & rank but not the username? If so I can show you how to do this but I want to make sure this is what you are asking for.

-Jad

Soul
Forumember

Male Posts : 673
Reputation : 79
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

Post by Ange Tuteur on October 6th 2014, 8:31 pm

Hello,

Try changing the code to this :
Code:
strong a[href="/u2"] { font-size:0; }
strong a[href="/u2"]:after { content:url('http://i.imgur.com/AULOGXw.png'); }

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

Post by Derp-chan on October 6th 2014, 8:41 pm

Hmmm...I want the image to appear like a normal username would.
It's just when I post the image duplicates and appears next to my avatar and in my PM links. I only want it to appear once under my avatar
@Ange Tuteur wrote:Hello,

Try changing the code to this :
Code:
strong a[href="/u2"] { font-size:0; }
strong a[href="/u2"]:after { content:url('http://i.imgur.com/AULOGXw.png'); }
This fixed problem of it appearing around my name 3 times, but now it doesn't show up next to "registered users" or the "posted by" text


Derp-chan
Forumember

Female Posts : 27
Reputation : 1
Language : English

http://forumthingwhatever.forumotion.com/

Back to top Go down

Solved Re: Having an image for a username

Post by Ange Tuteur on October 6th 2014, 8:45 pm

Could you provide a link to your forum ?

Thanks.

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

Post by Derp-chan on October 6th 2014, 8:53 pm


Derp-chan
Forumember

Female Posts : 27
Reputation : 1
Language : English

http://forumthingwhatever.forumotion.com/

Back to top Go down

Solved Re: Having an image for a username

Post by Ange Tuteur on October 6th 2014, 8:54 pm

Try this instead :
Code:
a[href="/u2"] span strong { font-size:0; }
a[href="/u2"] span strong:after { content:url('http://i.imgur.com/AULOGXw.png'); }
( it will only work for those in a usergroup )

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

Post by Derp-chan on October 6th 2014, 9:00 pm

Works beautifully
Thanks much

Derp-chan
Forumember

Female Posts : 27
Reputation : 1
Language : English

http://forumthingwhatever.forumotion.com/

Back to top Go down

Solved Re: Having an image for a username

Post by Ange Tuteur on October 6th 2014, 9:02 pm

You're welcome Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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