Last active
October 10, 2020 04:36
-
-
Save nhbeachguy/ebfd46a610813c519b0a to your computer and use it in GitHub Desktop.
Divi Theme: remove that little down arrow for Top Level Menu items that have a drop down sub-menu....
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* remove divi default effects for items with a drop down menu */ | |
#top-menu .menu-item-has-children > a:first-child {padding-right: 0px; padding-bottom: 17px!important;} | |
#top-menu .menu-item-has-children > a:first-child:after{content: ''; margin-top: -2px;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would suggest adding the following to remove the space to the right of the link that the down arrow formerly occupied, as it looks like (at least as of Divi 3.0) the padding was added to the
<li>
rather than the<a>
:#top-menu .menu-item-has-children {padding-right: 0px;}