Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • @naijaping

    Participant

    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)
  • @rogercoathup

    Participant

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

    @naijaping

    Participant

    @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

    `

    `

    @modemlooper

    Moderator

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

    @naijaping

    Participant

    @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

    @rogercoathup

    Participant

    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?

    @rogercoathup

    Participant

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

    @modemlooper

    Moderator

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How can i change menu “Home” text to image icon.’ is closed to new replies.
Skip to toolbar