diff options
-rw-r--r-- | css/mobile.css | 3 | ||||
-rw-r--r-- | tpl_header.php | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/css/mobile.css b/css/mobile.css index f3dcd3af6..023155766 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -5,8 +5,7 @@ * @author Anika Henke <anika@selfthinker.org> */ -@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) { - +@media only screen and (max-width: 480px), only screen and (max-device-width: 960px) { /*____________ structure ____________*/ diff --git a/tpl_header.php b/tpl_header.php index dea494aa0..ff16b44b9 100644 --- a/tpl_header.php +++ b/tpl_header.php @@ -11,9 +11,7 @@ <h1><?php // get logo either out of the template images folder or data/media folder - $logo = tpl_getMediaFile('logo.png'); - // get the size of the logo - $logoSize = getimagesize($_SERVER["DOCUMENT_ROOT"].$logo); + $logo = tpl_getMediaFile(array(':wiki:logo.png','images/logo.png'),false,$logoSize); // display logo and wiki title in a link to the home page tpl_link( |