setup default images for headers
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 26 Oct 2015 15:52:12 +0000 (11:52 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 26 Oct 2015 15:52:12 +0000 (11:52 -0400)
archive.php
home.php
search.php
single.php

index e006fda..d510b14 100644 (file)
@@ -1,7 +1,7 @@
 <?php get_header(); ?>
 <main class="blog-archive">
     <div id="head-img">
-
+        <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
     </div>
 
     <?php get_template_part('parts/reservation-form');?>
index fefe635..8244811 100644 (file)
--- a/home.php
+++ b/home.php
@@ -1,7 +1,7 @@
 <?php get_header(); ?>
 <main class="blog-home">
     <div id="head-img">
-
+        <div class="featured-image" style="background: url('<?php get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
     </div>
 <!--    <article <?php // post_class() ?> id="interior-featured">
         <?php // GLM_get_header(); ?>
index a7487a4..cfa7a21 100644 (file)
@@ -1,7 +1,7 @@
 <?php get_header(); ?>
 <main class="search-results">
     <div id="head-img">
-
+        <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
     </div>
     <?php get_template_part('parts/reservation-form');?>
     <div class="row">
index 55c3353..7cfe604 100644 (file)
@@ -1,7 +1,7 @@
 <?php get_header(); ?>
     <main class="blog-single">
         <div id="head-img">
-
+            <div class="featured-image" style="background: url('<?php echo get_template_directory_uri();?>/assets/default.jpg') no-repeat scroll 0px bottom / cover;"></div>
         </div>
     <?php get_template_part('parts/reservation-form');?>
         <div class="row">