Skip to content

Instantly share code, notes, and snippets.

@dividezigns
Last active May 6, 2018 05:14
Show Gist options
  • Save dividezigns/7b198e2fdd556447708b464cdfc78ba3 to your computer and use it in GitHub Desktop.
Save dividezigns/7b198e2fdd556447708b464cdfc78ba3 to your computer and use it in GitHub Desktop.
This code will force Divi's mobile menu to expand fullwidth. Place this code in style.css file in your child theme directory.
.container.et_menu_container {
width: calc( 100% - 60px);
}
.et_mobile_menu {
margin-left: -30px;
padding: 5%;
width: calc( 100% + 60px);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment