Created
December 18, 2015 08:48
-
-
Save generatepress/d39375f70a6ed1075bf0 to your computer and use it in GitHub Desktop.
Move header widgets below site title/logo on mobile
This file contains 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
@media (max-width: 768px) { | |
.inside-header { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-flow: row wrap; | |
flex-flow: row wrap; | |
} | |
.site-branding { | |
-webkit-box-ordinal-group: 1; | |
-moz-box-ordinal-group: 1; | |
-ms-flex-order: 1; | |
-webkit-order: 1; | |
order: 1; | |
} | |
.site-logo { | |
-webkit-box-ordinal-group: 2; | |
-moz-box-ordinal-group: 2; | |
-ms-flex-order: 2; | |
-webkit-order: 2; | |
order: 2; | |
} | |
.header-widget { | |
-webkit-box-ordinal-group: 3; | |
-moz-box-ordinal-group: 3; | |
-ms-flex-order: 3; | |
-webkit-order: 3; | |
order: 3; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment