From: Ian Weller Date: Wed, 6 Jan 2016 19:15:53 +0000 (-0500) Subject: final touches p.2 X-Git-Tag: v1.0.0^2~219 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bbebcb78aa9ae688999b414112d187833d3c7463;p=WP-Themes%2Fsaultstemarie.git final touches p.2 --- diff --git a/assets/things-to-do.jpg b/assets/things-to-do.jpg new file mode 100644 index 0000000..efdf4da Binary files /dev/null and b/assets/things-to-do.jpg differ diff --git a/css/app.css b/css/app.css index cc2dafd..3534b62 100644 --- a/css/app.css +++ b/css/app.css @@ -6540,14 +6540,14 @@ header { background: #cc6535; } main.page-front { - padding-top: 18px; } + padding-top: 17px; } main.page-front #content-wrapper { background: -webkit-linear-gradient(top, #d7e8f0 75%, rgba(255, 255, 255, 0) 100%); background: -moz-linear-gradient(center top, #d7e8f0 75%, rgba(255, 255, 255, 0) 100%); background: -ms-linear-gradient(top, #d7e8f0 75%, rgba(255, 255, 255, 0) 100%); } main.page-inside { - padding-top: 18px; } + padding-top: 17px; } main.page-inside #content-wrapper { background: -webkit-linear-gradient(top, #d7e8f0 75%, rgba(255, 255, 255, 0) 100%); background: -moz-linear-gradient(center top, #d7e8f0 75%, rgba(255, 255, 255, 0) 100%); diff --git a/footer.php b/footer.php index 26e1d1b..4b60b0a 100644 --- a/footer.php +++ b/footer.php @@ -51,9 +51,9 @@ diff --git a/functions.php b/functions.php index b071302..6a37977 100644 --- a/functions.php +++ b/functions.php @@ -82,9 +82,9 @@ function glm_get_header() { if (has_post_thumbnail()) { $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full"); - echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "'; + echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:420px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px; "'; } else { - //echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.gif);height:0;padding:0;padding-bottom:30%;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 300px;"'; + echo ' style="background-image: url('.get_template_directory_uri().'/assets/things-to-do.jpg);height:0;padding:0;padding-bottom:420px;background-position:center center;background-size: 100%;background-repeat:no-repeat;max-height: 420px;"'; echo ' class="no-featured"'; } echo '>'; diff --git a/header.php b/header.php index 5967f6c..57039ef 100644 --- a/header.php +++ b/header.php @@ -18,8 +18,8 @@
    -
  • Contact
  • -
  • Media
  • +
  • Contact
  • +
  • Media
  • Group & Conferences
  • diff --git a/scss/_main.scss b/scss/_main.scss index b1610c7..f45aa53 100644 --- a/scss/_main.scss +++ b/scss/_main.scss @@ -1,12 +1,12 @@ main.page-front { - padding-top: 18px; + padding-top: 17px; #content-wrapper { @include gradient(#d7e8f0, rgba($white, 0)); } } main.page-inside { - padding-top: 18px; + padding-top: 17px; // @include gradient(#d7e8f0, rgba($white, 0)); #content-wrapper { @include gradient(#d7e8f0, rgba($white, 0));