Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can i change menu “Home” text to image icon.

  • Avatar of Prince Abiola Ogundipe
    Prince Abiola Ogundipe
    Participant

    @naijaping

    Can someone please tell me how to replace home text link with image icon. i have checked my header.php but dont seems to get it.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    That’s basic CSS — google ‘CSS image replacement techniques’

    Avatar of Prince Abiola Ogundipe
    Prince Abiola Ogundipe
    Participant

    @naijaping

    @RogerCoathup, i have no problem with the css aspect of it, but i need to give the link a class to be able to style it . because its part of WP Nav. see below

    `

    `

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Which nav? The profile home tab or the main menu of your site?

    Avatar of Prince Abiola Ogundipe
    Prince Abiola Ogundipe
    Participant

    @naijaping

    @modemlooper, the main top menu nav of my site, i want to use icon instead of word “Home”. i know i have to give it class before i can style it but i dont know which file i can find nav bar as it is not in the header.php

    Regards

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    wp_nav_menu() assigns unique ids to its menu items. So, if you understand CSS, I’m not sure what your problem is.

    Also somewhat baffled that you know it’s using wp_nav_menu(), but you don’t know what file it’s in? How do you know it’s using wp_nav_menu() if you can’t find the code?

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    If you don’t understand how wp_nav_menu() works, you can read up about it here: http://codex.wordpress.org/Function_Reference/wp_nav_menu

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.