From: Anthony Talarico Date: Tue, 8 Dec 2015 15:41:11 +0000 (-0500) Subject: adding sticky dropdown properties menu to mobile X-Git-Tag: v1.0.0^2~109 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9a255df076c9fc0fea3232b64f3279646a665cff;p=WP-Themes%2Fstaffords.git adding sticky dropdown properties menu to mobile --- diff --git a/css/app.css b/css/app.css index 89350d2..e234e7b 100644 --- a/css/app.css +++ b/css/app.css @@ -6483,6 +6483,15 @@ header .searchform input[type="submit"]:hover { #input { display: none; } +#properties section.top-bar-section { + left: 0 !important; } + +@media only screen and (max-width: 40em) { + #headerLogo { + margin-top: 30px; } + #properties { + margin-left: 0px !important; } } + .contain-to-grid { box-shadow: 0 5px 10px -1px #999999; } .contain-to-grid .top-bar { diff --git a/header.php b/header.php index b8cfb9d..22c8b99 100644 --- a/header.php +++ b/header.php @@ -15,7 +15,7 @@
-
+
- +
- diff --git a/scss/_page.header.scss b/scss/_page.header.scss index 56dcd4f..8766728 100644 --- a/scss/_page.header.scss +++ b/scss/_page.header.scss @@ -270,3 +270,14 @@ header .searchform input[type="submit"]:hover{ #input{ display: none; } +#properties section.top-bar-section{ + left: 0 !important; +} +@media #{$small-only}{ + #headerLogo{ + margin-top: 30px; + } + #properties{ + margin-left: 0px !important; + } +}