[wptest-www: 6/27] resize home banner to 940x280px



commit 350d260984c868c41d02aacddecad33e4724c79b
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Tue Sep 27 23:21:21 2011 -0300

    resize home banner to 940x280px

 theme/css/home.css  |    2 +-
 theme/functions.php |    2 +-
 theme/page-home.php |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/theme/css/home.css b/theme/css/home.css
index 8759e88..125caef 100644
--- a/theme/css/home.css
+++ b/theme/css/home.css
@@ -15,7 +15,7 @@
 #home_banner img {
     background: #254b87;
     width: 940px;
-    height: 320px;
+    height: 280px;
     display: block;
     margin: 0 auto;
     /* -moz-border-radius: 5px;
diff --git a/theme/functions.php b/theme/functions.php
index e567891..aa84d37 100644
--- a/theme/functions.php
+++ b/theme/functions.php
@@ -16,7 +16,7 @@ add_theme_support( 'post-thumbnails');
 /*
  * Set default banner size
  */
-set_post_thumbnail_size(940, 240);
+set_post_thumbnail_size(940, 280);
 
 /*
  * Media sizes for applications icons
diff --git a/theme/page-home.php b/theme/page-home.php
index b057543..d37bfc3 100644
--- a/theme/page-home.php
+++ b/theme/page-home.php
@@ -38,7 +38,7 @@ require_once("header.php"); ?>
                 
                 $home_link = get_post_meta($post->ID, 'link', true);
                 if($home_link != '') { echo '<a href="'.$home_link.'">'; }
-                the_post_thumbnail(array(940, 240), array('alt' => get_the_excerpt($post->ID), 'title' => get_the_title($post->ID)));
+                the_post_thumbnail(array(940, 280), array('alt' => get_the_excerpt($post->ID), 'title' => get_the_title($post->ID)));
                 if($home_link != '') { echo '</a>'; }
                 
                 ?>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]