From 70cf208987d0d1250fe1b43de7f6e29707d3ddae Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 5 Sep 2017 16:14:17 -0400 Subject: [PATCH] Make wpadminbar remain static in small view. 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 | 5 +++++ scss/_structure.scss | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/css/app.css b/css/app.css index 518182a..9c10353 100644 --- a/css/app.css +++ b/css/app.css @@ -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; } diff --git a/scss/_structure.scss b/scss/_structure.scss index 612e094..b4b4631 100644 --- a/scss/_structure.scss +++ b/scss/_structure.scss @@ -10,7 +10,11 @@ //10. Links //11. Footer //12. Copyright - +@media screen and (max-width: 600px) { + body #wpadminbar { + position: fixed; + } +} #example.element { background-color: transparent; } -- 2.17.1