Clean up unused code
authorLaury GvR <laury@gaslightmedia.com>
Wed, 4 Sep 2019 22:22:20 +0000 (18:22 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 4 Sep 2019 22:22:20 +0000 (18:22 -0400)
functions.php
scss/_page.header.scss
scss/_topbar.scss

index 3b37536..13df932 100644 (file)
@@ -198,18 +198,6 @@ function glm_get_header() {
     echo '</div>';
 }
 
-// // The code below is useful when you want the image to resize to
-//    if (has_post_thumbnail()) {
-//            $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
-//            echo '<img src="'.$image_data[0].'" style="no-repeat;max-height:400px;">';
-//    } else {
-//            echo '<img src="'.get_template_directory_uri().'/assets/default-header.gif" style="max-height:400px;">';
-//    }
-//    echo '<div class="row">';
-//    echo '<div class="small-12 columns">';
-//    echo '</div>';
-//    echo '</div>';
-
 add_action('wp_enqueue_scripts', 'glm_site_scripts');
 
 /* This function returns true when the current page is the page given by ID
index b136c0e..574a98b 100644 (file)
@@ -124,7 +124,6 @@ header {
             font-size: 17px;
             text-transform: uppercase;
             font-weight: bold;
-//            line-height: 75px;
         }
     }
 }
@@ -199,15 +198,12 @@ header {
     margin: 10px 0;
 }
 #resContent {
-    //display: none;
     background: $l-gray;
-    //width: 350px;
     position: relative;
     display: block;
     height: auto;
     padding: 15px 45px 45px;
     border: 2px solid white;
-    // box-shadow: 0 6px 5px -2px gray;
     -webkit-box-shadow: 3px 3px 6px lighten($black, 5%);
     -moz-box-shadow:    3px 3px 6px lighten($black, 5%);
     box-shadow:         3px 3px 6px lighten($black, 5%);
@@ -234,7 +230,6 @@ header {
 
 }
 .reservation-front {
-    //position: fixed;
     z-index: 1;
     right: 25px;
     top: 200px;
index 5394c55..92c4921 100644 (file)
@@ -15,8 +15,6 @@
     }
     .right-off-canvas-toggle.menu-icon {
         text-transform: uppercase;
-        // text-indent: -100px;
-        // width: 100%;
         display: block;
         left: -135px;
         width: 216px;
@@ -122,7 +120,6 @@ header {
                         & > a:not(.button) {
                             background: transparent;
                             @media screen and (max-width: 1098px){
-                                //padding: 0 12px;
                             }
                         }
                     }