HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Repace text with sprite

Hi,

I'm trying to replace this echo Wrap(Anchor(T($Text).' ', '/messages/add/' . $UserName), 'span', array('class' => 'PM'));

With something like this echo Wrap('<span class="Sprite SpEditProfile">.' ', '/messages/add/' . $UserName), 'span', array('class' => 'PM'));

But I keep breaking the code ;-(

Comments

  • edited February 2016

    same problem i m facing......

    snip

  • You're face a different problem >:)

  • Looks like you are trying to change core files. Don't do that. Try a css solution instead. Something like:

    .PM:after {
      content: "\f12d";
    }
    

    This css will most probably not show what you like where you like, but it shows you the idea

Sign In or Register to comment.