Change Elementor's Default Menu Icon

Change Elementor's Default Menu Icon

Check out our CSS Course, made especially for Elementor users.

Table of Contents

Many people are wondering how to import their own icon to use as menu, or how to use text instead. Here are a few ways to modify the original hamburger icon.

No extra plug-ins required! Elementor Pro Required.

Important: If you want to replace the static hamburger icon, to an awesome animated hamburger icon, see this article instead.

To replace the default Elementor hamburger menu icon

To replace the default Elementor hamburger menu icon with something else, follow these instructions.

Replacing the default Elementor nav icon with text

This will replace the hamburger icon with the word 'MENU'.

.elementor-menu-toggle i:before {
content: 'MENU';
}

This will replace the ‘X’ with the word ‘CLOSE’.

.elementor-menu-toggle.elementor-active i:before {
content: 'CLOSE';
}

Change Elementor's Default Menu Icon 1

Replacing the default Elementor nav icon with your own icon

This will replace the hamburger icon with your own icon

.elementor-menu-toggle i{
max-width:40px;
content: url(https://cdn.element.how/wp-content/uploads/2019/07/logomobileme.png);
}

And this is to replace the closing icon with your own

.elementor-menu-toggle.elementor-active i {
max-width:40px;
content: url(https://cdn.element.how/wp-content/uploads/2019/07/email.png);
}

Change Elementor's Default Menu Icon 2

 

Here is another way to change the menu and closing icon if the method above doesn't work like you want.

.elementor-menu-toggle i:before {
content: '';
display: block;
width: 40px;
height: 40px;
background: url(https://cdn.element.how/wp-content/uploads/2019/07/logomobileme.png);
background-size: cover;
background-repeat: no-repeat;
}

.elementor-menu-toggle.elementor-active i:before {
content: '';
display: block;
width: 40px;
height: 40px;
background: url(https://cdn.element.how/wp-content/uploads/2019/07/email.png);
background-size: cover;
background-repeat: no-repeat;
}

Conclusion

I hope you have enjoyed this tutorial! Cheers!

Element.how also provides premium tutorials showing awesome advanced designs, check them out here.

Looking for something else? Search across 2445 Elements right here:

Checkout the Elementor Addon Finder directly

Comments

10 Responses

  1. If I have my icons in png and/or svg format, saved on my computer. how to I add that url for my specific icon I am trying to use

  2. Thanks, this works great! I replaced the hamburger menu with the word 'MENU' is there some way to make the word 'MENU' smaller?

  3. How can i change the size of my custom icon for a mobile screen? The max width in the code is suitable for desktop but too big for mobile. The toggle button size under style doesn't change it

    1. Hey Sam!

      Just wrap the new value in a media query... add after the css you already have.

      @media (max-width:767px){
      .elementor-menu-toggle i{
      max-width:30px;
      }
      }

  4. Hey,
    Thanks so much. I've wanted to get rid of that default icon for ages 🙂
    Can we add some sort of easing to the transition as well, as it looks a bit strange?

    1. This is possible but a little bit out of scope for this tutorial. I might create another tutorial for this at some point...

Leave a Reply

BRAND NEW

CSS Course For Elementor Users

Become a CSS ninja and design exciting, quality websites that stand out in the crowd.