Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Icon next to username based on profile field.


  • JimRead24
    Participant

    @jimread24

    Hello everyone. I’m creating a Social Network for a video game which is on multiple platforms. XBOX, PS3, PC. I would like to be able to add a Profile field for Console and depending on which the user chooses. Have a small icon next to their name in the activity feed with what system they play on. Please let me know if this is possible. Thank you!

Viewing 1 replies (of 1 total)
  • Yes it’s possible!

    Grab the profile field create a variable to hold a string, then check the value of the profile field and set your variable to a specific string, use that to set/echo a class in your markup on the anchor holding the user name, then style a series of rulesets that state background-image for that anchor and specific class name.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Icon next to username based on profile field.’ is closed to new replies.
Skip to toolbar