Make wpadminbar remain static in small view.
authorLaury GvR <laury@gaslightmedia.com>
Tue, 5 Sep 2017 20:14:17 +0000 (16:14 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 5 Sep 2017 20:14:17 +0000 (16:14 -0400)
The wpadminbar was made fixed in small view, causing it to overlap
and cause a white area at the top of the page. Keeping it static
instead should solve both problems.

css/app.css
scss/_structure.scss

index 518182a..9c10353 100644 (file)
@@ -8427,6 +8427,11 @@ img#orb-foot {
     #footer_address span.bullet, #copyright span.bullet {
       display: none !important; } }
 
+@media screen and (max-width: 600px) {
+  body #wpadminbar {
+    position: fixed; }
+ }
+
 #example.element {
   background-color: transparent; }
 
index 612e094..b4b4631 100644 (file)
 //10. Links
 //11. Footer
 //12. Copyright
-
+@media screen and (max-width: 600px) {
+    body #wpadminbar {
+        position: fixed;
+    }
+}
 #example.element {
     background-color: transparent;
 }