Created
October 27, 2017 13:49
-
-
Save gwelser/a45afa89b6c2d188fa5c0615c7a77ee5 to your computer and use it in GitHub Desktop.
Reposition Divi Split Menu Logo
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
| (function($){ | |
| setTimeout(function(){ | |
| var $og_logo = $('.centered-inline-logo-wrap'); | |
| var $logo = $og_logo.clone(); | |
| $og_logo.prev().before($logo); | |
| $og_logo.remove(); | |
| $('body').removeClass('hide-logo'); | |
| }, 1000); | |
| })(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use if you need to reposition the centered logo in a Divi menu. Assumes you have filtered in a
body_classofhide-logothat usesdisplay: none;to hide the logo.