Jump to content


Photo
- - - - -

How to add an icon to a text menu button


  • Please log in to reply
2 replies to this topic

#1 peterluit

peterluit

    Advanced Member

  • Members

  • 80 posts
  • LocationNetherlands
  • Framework Version:2.x

Posted 19 March 2011 - 08:38 AM

Does anyone know how to add an icon to a text menu button in PFP? Or maybe even to replace the text by an icon? Example: 'HOME and right of that a little home icon' Thanks, Peter Luit Netherlands

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 19 March 2011 - 05:00 PM

It's possible with this code, which you can add to your base.css file:

Please Login or Register to see this Hidden Content


Replace the IMGURL with the URL for the icon you want.
Replace the

Please Login or Register to see this Hidden Content

in

Please Login or Register to see this Hidden Content

with the item number for the menu item you want to change (since each one is different in the menu). You can use Firebug to assist you:

Please Login or Register to see this Hidden Content



#3 peterluit

peterluit

    Advanced Member

  • Members

  • 80 posts
  • LocationNetherlands
  • Framework Version:2.x

Posted 20 March 2011 - 08:29 AM

Thanks, Catrina, that worked fine for me!!