• Resolved pvl7182

    (@pvl7182)


    Hi.

    I am using your menu icon plugin. Unfortunately the icon isn’t showing right on my page. I tried all the available positions, nothing works. The icon is not in the center of the menu-item. Either it’s on the top right corner or bottom right corner. I couldn’t come up with a CSS solution.

    But could you help me out somehow?

    I’m using the GoPress Free WordPress Theme by WPExplorer.

    Thanks in advance!

    https://wordpress.org/plugins/menu-icons/

Viewing 1 replies (of 1 total)
  • Hey.

    Your theme doesn’t add the .menu class the the main menu. Please create a php file in wp-content/mu-plugins (eg: my-menu-class.php) and add the code below:

    function _wpex_gopress_nav_menu_args( $args ) {
    	$args['menu_class'] .= ' menu';
    
    	return $args;
    }
    add_filter( 'wp_nav_menu_args', '_wpex_header_nav_menu_args' );
Viewing 1 replies (of 1 total)
  • The topic ‘Wrong icon position’ is closed to new replies.