2016-12-14 UPDATE
(Found this script using jquery (add to <head> in Divi –> Theme Options) which is preferable to editing the custom.js file:
<script> (function(){ // Override the addClass to prevent fixed header class from being added var addclass = jQuery.fn.addClass; jQuery.fn.addClass = function(){ var result = addclass.apply(this, arguments); jQuery('#main-header').removeClass('et-fixed-header'); return result; } })(); jQuery(function($){ $('#main-header').removeClass('et-fixed-header'); }); </script> *** NO LONGER USE THIS BELOW ***
To get the header to stay the default size (and not ‘shrink’ on scroll down), do this (comment out) to  js/custom.js:
// , // handler : function( direction ) { // if ( direction === 'down' ) { // $('#main-header').addClass( 'et-fixed-header' ); // } else { // $('#main-header').removeClass( 'et-fixed-header' ); // } // }
NOTE – this may get overridden during a theme upgrade
Native Texas, Logan Seth Ramirez is a computer science graduate from Trinity University and lives in San Antonio with his wife and four children. Along with being a web hero, he authored The Groom Wore White Socks, sings and songwrites as Logan Seth, and his favorite Spanish word is cacahuates.
When i put this code on said custom.js, the mobile menu stops working. Do you have any solution to that?
Hi, Nica. I don’t know why that would happen BUT I recently came across a better method using jquery in the
section on Theme Options. Check out the blog post above now and try that!Thanks that fixed it for me!