Code by Day | Explore By Weekend
Free Divi Header Menu Custom CSS Hover Effects Style Animations by Pee-Aye Creative

101 Free Custom Divi Menu Hover Effects and Animations

Download this huge collection of 101 FREE Divi Menu CSS hover effects and animations to use with the Divi Theme Builder Menu module!

We spend a LOT of time developing these FREE Divi resources. However, all we ask in return is that you subscribe to the blog. You won’t get spammed or blasted like some sites do, but we typically send out an email every few weeks with  helpful new tutorials and products once in a while.

NOTE: If you already subscribed for these before, no worries. You won’t have to confirm this time, just enter your info and after the system confirms that you are subscribed.

Please note that the download link will appear here on the page (not in an email)!

How To Use the Free Divi Menu CSS Effects

After you subscribe, you will receive an email with a link to download the files. The download will have the following file in a .zip folder, which will need to be extracted.

  • divi-menu-effects.css

Step #1. Open The CSS File

Open the divi-menu-effects.css in your favorite code editor. If you don’t have one, I suggest using brackets.io which is free and easy to use on PC or Mac.

Step #2. Copy The Animation Effect You Want To Use

Inside the CSS file and also on our demo you will find all of the Divi custom menu animation effects clearly labeled. You can match the name of the effect with the name and CSS class shown in the demo. Find the snippet you want to use between the opening and closing comments, and copy it.

EXAMPLE: Suppose you want to use the Underline Fade. To do so, copy the entire snippet starting at /*==== Start Underline Fade====*/ and ending at /*==== End Underline Fade====*/

/*==== Start Underline Fade ====*/

.pa-underline-fade nav ul li a {
   position: relative;
}

.pa-underline-fade nav ul li a::before {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 2px;
   width: 100%;
   background-color: #2cba6c;
   z-index: 2;
   opacity: 0;
   display: block;
   -webkit-transition: .3s;
   -o-transition: .3s;
   transition: .3s;
   -webkit-transition-timing-function: cubic-bezier(.58, .3, .005, 1);
   -o-transition-timing-function: cubic-bezier(.58, .3, .005, 1);
   transition-timing-function: cubic-bezier(.58, .3, .005, 1);
}

.pa-underline-fade nav ul li a:hover::before {
   opacity: 1;
}


/*==== End Underline Fade ====*/

Step #3. Paste The Code In The Divi Theme Options Custom CSS

Go to your website Dashboard and go to Divi>Theme Options>Custom CSS. Paste the snippet you want to use there, and click save.

Step #4. Add The CSS Class To the Menu Module

The last step is to add the corresponding CSS class to the Menu Module. The CSS class is the same as the selector in the code snippet you copied. Go to your Divi Theme Builder or page layout and open the Divi Menu Module settings. Go to the Advanced tab to the CSS ID & Classes toggle. Paste the class there, being sure not to include the starting “.” period.

EXAMPLE: In the example above, we can see that the CSS selector in the snippet is “.pa-underline-fade,” so that is the same CSS class you should put in the Menu module settings. The CSS classes are also listed on the demo with the corresponding name and effect.

Divi Menu CSS Effects

How would you use these with the default header? The one without the Theme Builder or the Menu module? Glad you asked! Instead of trying to explain it all, it will be best if you check out my other post on styling the Divi menu. Look at the CSS classes and IDs that target the menu, and use those instead of the custom classes in our demo.

That’s it! We hope you enjoy using these free Divi custom menu CSS Effects and animations on your websites. If you have any questions or just want to say thank you, be sure to leave a comment below!

What about the current page item?

To use these effects on the active page link, you need to add the class “.current-menu-item” to the list item. It would look something like this:

nav li.current-menu-item a
15

Please share this Divi freebie!

Nelson Lee Miller (aka The Divi Teacher)

Nelson is the owner of Pee-Aye Creative Co in the beautiful state of Pennsylvania. He loves helping small businesses, exploring, building websites with Divi, and teaching others.

Join Our NEW Divi Facebook Group!

The Divi Teacher Logo

View More Divi Freebies

Leave A Response!

Subscribe
Notify of
guest
39 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
imti
imti
4 months ago

WOW, Most requested features, Thanks for being awesome!

Bobo
Bobo
4 months ago

Big thanks! You are great! 🙂
I’ve been looking for snippets like this for a long time.

Mario
Mario
4 months ago

Awesome mate, thanks so much for sharing and offering it as a free resource

Maksym
Maksym
4 months ago

This is BOMB! Thank you so much, Nelson!

Marna Towne
Marna Towne
4 months ago

Thank You! How would I do this for the standard primary menu, not the menu module? Do I have to add the css selector to each menu item?

ron
ron

Hi Nelson,
This is really great!
When do you update the post? Want to implement it with the standard primary menu

mrmule
mrmule

When i do this, the line appears directly above the text, there is no gap. How can I change this? thank you so much!

SIMON POTTER
SIMON POTTER
4 months ago

Is there a way to make the highlight stay on when it is on the active page?

Jonah
Jonah
4 months ago

This is fantastic! Thank you for this tutorial. Can the hover draw border be used with sections and module borders somehow?

Thomas
Thomas
4 months ago

Hallo,
vielen Dank für die tollen Menü Effekte. Ich habe schon sehr lange nach so etwas gesucht. Und dann auch noch kostenlos. Super. 🙂

Thank you for the great menu effects. I’ve been looking for something like this for a long time. And then also free of charge. Great. 🙂

gio
gio
4 months ago

Simply Amazing!Thank uuuu!!!!

MickA
MickA
4 months ago

heu…. ok First, thank you for allllllll of this ! It’s so cool to share 101 effects ! But but but, maybe because i’m french (nobody is perfect, i know hahaha) there is something that i don’t understand at all. For example : I use the default header. So no menu module. ok ? This default header has an active main menu link. ok ? Well, now i want to use one of your 101 effects called Bounce in. What the final code should be ? And where should i put it ? I’m lost… Thanks in advance for your… Read more »

MickA
MickA

Sorry, but i don’t understand. Look : My header is fixed, so i should use this code : .et-fixed-header #top-menu li.current-menu-ancestor>a { } Am i right ? Then, i want to apply the Bounce in effect. So with this code : .pa-2d-bounce-in nav ul li a { -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -o-transition-duration: 0.5s; } .pa-2d-bounce-in nav ul li a:hover { -webkit-transform: scale(1.2); transform: scale(1.2); -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36); transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36); } And, i tried to apply your explanation doing this : .et-fixed-header #top-menu li.current-menu-ancestor>a { -webkit-transition-duration: 0.5s; transition-duration: 0.5s; -o-transition-duration: 0.5s; } .et-fixed-header #top-menu li.current-menu-ancestor>a:hover {… Read more »

cristina
cristina
4 months ago

This is awesome!! Thanks a lot for sharing! Great work!!

Shawn
Shawn
3 months ago

Hi Nelson, I didn’t get how to add the code “nav li.current-menu-item a”
for the active page link. Can you show me where I’m supposed to add it? Thanks again for your help.

Shawn
Shawn

I’m trying to use it with .pa-underline-color-swipe. Tried putting it between li and a tags but didn’t work.

bri
bri
Reply to  Shawn
2 months ago

hey nelson, great stuff, thanks a lot!
Everything works fine except this detail. Do you have any other suggestion what to do to make the effect stay on the active link?!

Gyles Morrison
Gyles Morrison

This literally does not work. I’ve added .current-menu-item after the li in the Custom CSS and the whole code just stops working.

Ava
Ava
2 months ago

Hi !
Firstly, thank you so much for your work !
But I tried everything and nothing to do it doesn’t work on my website…
I have the fixed main menu that comes with the theme so I followed your other tuto but it still doesn’t work… I don’t know what else to do. Any Idea ?

ChrisP
ChrisP
1 month ago

Is there a way to accommodate the Center Inline Logo menu option? When I have this turned on the Menu Hover is not centered vertically around the Text.

ChrisP
ChrisP

http://www.eco-industries.ca/ITIwordpress/?page_id=4037
there is a sample page of it. I’ve learned a little more about what it’s doing since I posted. Still can’t fix it though. Any of the effects that use the :after seem to mess up. You can see it easy on this demo page though. I’m sure it’s something I’m doing wrong though. New to this kind of web design.

Shop Our Divi Products!

Child Themes • Plugins • Layouts

Visit The Shop

become partners with Pee Aye Creative

Partner With Us

We are looking for you!

Learn More

Divi Tutorials On YouTube

Subscribe to our helpful Divi videos!

Visit Our Channel

0
Would love your thoughts, please comment.x
()
x

Pin It on Pinterest

0

Your Cart