Inside page header image update
authorLaury GvR <laury@gaslightmedia.com>
Tue, 21 Oct 2014 13:58:27 +0000 (09:58 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 21 Oct 2014 13:58:27 +0000 (09:58 -0400)
css/app.css
footer.php
page.php
scss/site/_structure.scss

index 457a55a..0e6caed 100644 (file)
@@ -5607,7 +5607,8 @@ h2 {
   margin-bottom: 0 !important;
   width: 578px;
   height: 65px;
-  border-radius: 10px 0 0 0; }
+  border-radius: 10px 0 0 0;
+  z-index: 9; }
 
 nav.top-bar {
   height: 60px;
index 812319d..11abe32 100644 (file)
@@ -63,7 +63,7 @@
     });
     jQuery('.ngg-fancybox').each(function() {
         var jurl = jQuery(this).attr("title");
-        jQuery(this).attr("href","http://gaslight.upnorth.net/our-work/"+jurl);
+        jQuery( this ).wrap( "<a href='http://gaslight.upnorth.net/our-work/'"+jurl+"></a>" );
     });
 </script>
 <?php wp_footer(); ?>
index 3b36008..409eb30 100644 (file)
--- a/page.php
+++ b/page.php
@@ -2,10 +2,13 @@
 
 <div class="row">
     <?php // get_sidebar('left'); ?>
+    <?php 
+        $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
+        echo '<img class="small-12 columns" style="display: block; width: 100%; position: relative; padding: 0;" src="'.$image_data[0].'";>' 
+    ?>
     <div id="main" class="small-12 columns" role="main">
 
     <?php do_action('foundationPress_before_content'); ?>
-
     <?php while (have_posts()) : the_post(); ?>
         <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
             <header>
index 584e00a..d212cdf 100644 (file)
@@ -60,6 +60,7 @@ h2 {
     width: 578px;
     height: 65px;
     border-radius: $glm-border-radius 0 0 0;
+    z-index: 9;
 }
 nav.top-bar {
     height: 60px;