In this tutorial, I will show you how to create an Elementor horizontal navigation menu with some custom CSS.
You will also learn how to create a version of this where hovering each menu item shows a different full screen image.
Here is the fancy version of the Elementor horizontal menu with image change on hover:
Here is the normal version of the horizontal navigation menu:
The idea for the fancy version comes from this website, which was shared in the Elementor facebook group.
Features:
- Customizable: Adjust everything as you want it: the padding and colors of the menu items, the underline in the third level, etc.
- Polyvalent: Works up to three level deep.
- Desktop only: As hover is required, this is really a desktop only design. On mobile you will want an alternative.
- WordPress Menu element: Elementor Pro is required as we are modding the "WordPress Menu" element.
- No negative page load impact: Even though we are loading several large images, the page load isn't slowed: the large images start loading only after the rest of the page has completely loaded.
Let's get started!
First, import the template of your choice
This is a premium tutorial. Purchase access to unlock the full tutorial.
7 Responses
Hi Maxime,
i just downloaded and installed the template. I cannot find the html element "Nav Images Code." to put inside the image urls.
Can i create an html element for the images by my own? Do i have to use script type="text/javascript" ? I tried it, but it didn't work either.
Greetings!
I have two templates available on this page, it sounds like you imported the one for the normal layout, without the images on hover.
Please import the other one, and let me know how it goes!
Cheers!
Hi Maxime, just bought the template. Unfortunately the negative margin and fade-in-option for the background color does not work. Any workarounds? Thanks a lot and kind regards, yasemin
... I just realized, that the Scrolling Effect "transparency" in the Background does not work at all. Quite annoying. I spend so much time on google ... I used to love elementor, but it is actually fading
Hey Yasemin!
Sorry I have no clue what you mean here and how it's related to the tutorial... hehe.
If it's an Elementor bug (i.e. if it still happens if you remove the custom code) then I suggest you reach out to their support please.
Otherwise if it's related to the tutorial, please share your URL I will have a look. And let me know what to look for.
Cheers!
Dear Maxime, thanks for your quick reply 🙂 I meant, that I would like this great menu to be transparent on page load. Is this possible?
Greetings Yasemin!
So follow these steps:
1. Remove the background color that's on the DesktopHeader container.
2. On that same container, add a negative bottom margin corresponding to the height of the header
3. in the CSS (under WordPress Menu > Advanced > Custom CSS), change these lines:
to this:
Let me know how it goes!
Cheers!