Mujahid Bhoraniya
Mujahid Bhoraniya

Reputation: 1584

Dash icons Not Showing properly in Menu Using Wordpress

The Mega Menu plugin works well except when activated it affects But some WordPress Dash icons not showing properly.

I have already installed cache plugins like Autoptimize and WP Rocket as well.

After clear cache from admin side but don't work till now. Also not giving any error in the Browser console.

URL: https://www.socomtactical.net

Max Mega Menu Plugin: https://wordpress.org/plugins/megamenu/

Note: I can't use Elemetor on my Website.

Screenshot:

enter image description here

Please let me know what is actually issue?

Thank you.

Upvotes: 0

Views: 1831

Answers (1)

Abdo-Host
Abdo-Host

Reputation: 4103

If you want to add Dashicons on WordPress frontend, you will need to enqueue them using PHP code in your theme functions.php file:

/* Add Dashicons in WordPress Front-end */
add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' );
function load_dashicons_front_end() {
   wp_enqueue_style( 'dashicons' );
}

Sample :

<i class="dashicons dashicons-admin-comments"></i> 

Chose icon

Upvotes: 1

Related Questions