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.

Having an image for a username

2 posters

Go down

Solved Having an image for a username

Post by Derp-chan 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.
Having an image for a username SLfqKnN
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
Derp-chan
Forumember

Female Posts : 29
Reputation : 1
Language : English

http://forumthingwhatever.forumotion.com/

Back to top Go down

Solved Re: Having an image for a username

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

Solved Re: Having an image for a username

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

Post by Derp-chan 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
Having an image for a username RIfZ6mD
Having an image for a username NWEUq2c
Derp-chan
Derp-chan
Forumember

Female Posts : 29
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 October 6th 2014, 8:45 pm

Could you provide a link to your forum ?

Thanks.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

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

Derp-chan
Derp-chan
Forumember

Female Posts : 29
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Having an image for a username

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

Works beautifully
Thanks much
Derp-chan
Derp-chan
Forumember

Female Posts : 29
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 October 6th 2014, 9:02 pm

You're welcome Smile

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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