WordPress.org

Forums

eSell
[resolved] Home button before every menu (3 posts)

  1. Sven de Bie
    Member
    Posted 1 year ago #

    The Home icon is shown before every menu, also when using custom menu's in the widgets: http://www.veterstore.nl/

    I only want the home icon shown in the main navigation and not in de custom menu's.

  2. Sven de Bie
    Member
    Posted 1 year ago #

    function esell_home_link($items, $args) {
    
    	// Only show home icon for main navigation.
    	if($args->theme_location != 'esell-navigation'){
    		return $items;
    	}
    
    if (is_front_page())
    ...

    This is the solution. I can't get it to commit to the svn.

  3. Sandy
    Member
    Theme Author

    Posted 1 year ago #

    You can edit menu from dashboard and save it but on top menu home icon is default .

    Also to hide Home icons use CSS code like

    #navigation .home-icon img {
    display:none;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic