That’s basic CSS — google ‘CSS image replacement techniques’
@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
`
false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>
`
Which nav? The profile home tab or the main menu of your site?
@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
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?
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