From: Anthony Talarico Date: Thu, 8 Jun 2017 20:33:08 +0000 (-0400) Subject: removing sticky styles from the mobile and tablet view X-Git-Tag: v1.0.0^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=22590bf87f639eb0bb6c0f2ae9fb517fa092cd33;p=WP-Themes%2Fpetoskey.git removing sticky styles from the mobile and tablet view fixing the js and styles so that there is enough padding on the main page content in mobile and tablet view --- diff --git a/css/app.css b/css/app.css index 7701305..2423dc8 100644 --- a/css/app.css +++ b/css/app.css @@ -6636,27 +6636,36 @@ main { height: 300px; } @media only screen and (max-width: 40em) { - #slideshow { - height: 270px; } } -#slideshow li { - list-style: none; } - @media only screen and (min-width:40.063em) and (max-width:64em) { - #slideshow li { - height: 386px; } } + .page-inside, .page-front { + padding-top: 150px; } } +@media only screen and (min-width:40.063em) and (max-width:64em) { + .page-inside, .page-front { + padding-top: 100px; } } + +#slideshow { + margin-top: 10px; } @media only screen and (max-width: 40em) { - #slideshow li { + #slideshow { height: 270px; } } - #slideshow li img { - max-height: 386px; } -#slideshow #caption { - background: rgba(0, 0, 0, 0.75); - color: #FFFFFF; - margin-top: -51px; } - #slideshow #caption p { - padding: 10px 5px; - font-size: 12px; - margin: 0; - text-align: right; } + #slideshow li { + list-style: none; } + @media only screen and (min-width:40.063em) and (max-width:64em) { + #slideshow li { + height: 386px; } } + @media only screen and (max-width: 40em) { + #slideshow li { + height: 270px; } } + #slideshow li img { + max-height: 386px; } + #slideshow #caption { + background: rgba(0, 0, 0, 0.75); + color: #FFFFFF; + margin-top: -51px; } + #slideshow #caption p { + padding: 10px 5px; + font-size: 12px; + margin: 0; + text-align: right; } /* NextGen Gallery */ .ngg-gallery-thumbnail, .ngg-gallery-thumbnail-box { diff --git a/header.php b/header.php index 763350d..e522e19 100644 --- a/header.php +++ b/header.php @@ -17,7 +17,7 @@
-
+