Support » Fixing WordPress » New nav-menu system – need to add a Facebook icon to it

  • Resolved cyars

    (@cyars)


    Can it be done? I used to just be able to add as another li item, but I can’t find where to do that now? I want it to be on teh nav bar like:

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I figured it out myself 🙂 I just created a class with a background image in the style sheet and called it in the menu system 🙂

    How do you do this? How do you create a class and how do you call it in the menu system?

    You open the stylesheet for your theme and type in something like:

    .facebook-icon {background: img(‘images/facebook.png’);}

    Then in the menu system, add a new “Custom link” with the url pointing to the facebook (or whatever) page, and in the CSS Classes (optional) field, you type the name of your class, without the dot (so in this case would be facebook-icon. Works like a charm.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New nav-menu system – need to add a Facebook icon to it’ is closed to new replies.