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.

Question about Icons/Images on Usernames

View previous topic View next topic Go down

Solved Question about Icons/Images on Usernames

Post by FrOsTyXi on January 19th 2015, 6:20 pm

Hello, I was wondering can the image/icon be placed after the username? I have searched and can't seem to find anything about it, if there is a thread please link me.

This is the CSS i would use for it to be before the username.
Code:
a[href*="/u"] span[style="color:#000000"] strong{background:url(http://i39.servimg.com/u/f39/18/83/30/50/psnbla11.png) no-repeat;padding-left:19px;padding-top:2px;font-weight:600!important}

I have tried a few things to move it over but i'm just making a mess LOL


Thanks in advance!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Question about Icons/Images on Usernames

Post by Fierce Star on January 19th 2015, 6:26 pm

Try replacing your code with this one:
Code:
a[href*="/u"] span[style="color:#000000"] strong {
    background: url(http://i39.servimg.com/u/f39/18/83/30/50/psnbla11.png) no-repeat right;
    padding-right: 19px;
    padding-top: 2px;
    font-weight: 600 !important;
}

Fierce Star
Forumember

Male Posts : 110
Reputation : 17
Language : English
Location : United States

http://inactivesite.onlyhelpwithothersnow.com

Back to top Go down

Solved Re: Question about Icons/Images on Usernames

Post by Ikerepc on January 19th 2015, 6:31 pm

This code should work:
Code:
a[href*="/u"] strong{background:url(http://i39.servimg.com/u/f39/18/83/30/50/psnbla11.png) no-repeat;background-position:right;padding-right:19px;padding-top:2px;font-weight:600!important;}

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Question about Icons/Images on Usernames

Post by FrOsTyXi on January 19th 2015, 6:52 pm

@Ikerepc thank you kindly!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: Question about Icons/Images on Usernames

Post by Ikerepc on January 19th 2015, 7:35 pm

you welcome Smile

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: Question about Icons/Images on Usernames

Post by Base on January 19th 2015, 8:04 pm

Solved => Archived

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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