Skip to content
Browse files

modified: functions.php

    modified:   single.php
    modified:   style.css
  • Loading branch information...
1 parent ea99341 commit dca0dab3d0107f6735d85058fc1d2b75c732f575 @tenman committed Mar 1, 2011
Showing with 13 additions and 11 deletions.
  1. +3 −1 functions.php
  2. +2 −2 single.php
  3. +8 −8 style.css
View
4 functions.php
@@ -68,7 +68,7 @@ function admin_header_style(){
add_custom_background();
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size( 48, 48, true );
- add_image_size( 'single-post-thumbnail', 600, 400, true);
+ add_image_size( 'single-post-thumbnail', 600, 200, true);
add_theme_support( 'automatic-feed-links' );
load_textdomain( 'Raindrops', get_template_directory().'/languages/'.get_locale().'.mo' );
add_filter("wp_head","tmn_embed_meta",'99');
@@ -659,6 +659,8 @@ function SubMenu_GUI() {
$result .= '<div id="message" class="updated fade" title="'.esc_attr($option_name).'"><p>'.sprintf(__('<strong>%1$s</strong> updated %2$s => %3$s successfully.'),tmn_admin_meta($option_name,'title'), $option_name, $add_str.' ['.$option_value.']');
if ( is_multisite() ) {
$result .= '<a href="themes.php?page=raindrops_settings">Update Setting</a></p></div>';
+ }else{
+ $result .= '</p></div>';
}
}else{
$result .= '<div id="message" class="error fade" ><p>'.__("Try again").$add_str.'</p></div>';
View
4 single.php
@@ -52,9 +52,9 @@
if(!empty($thumbnailsrc)){
echo '<div class="single-post-thumbnail" style="margin-top:1em;">';
- echo '<a href="'.esc_url($thumbnailsrc).'" onclick="javascrip:this.target=\'_blank\'" rel="lightbox">';
+ // echo '<a href="'.esc_url($thumbnailsrc).'" onclick="javascrip:this.target=\'_blank\'" rel="lightbox">';
echo $thumb;
- echo '</a>';
+ // echo '</a>';
echo '</div>';
}
}
View
16 style.css
@@ -5,7 +5,7 @@ Description: This theme file has the automatic arrangement of color function in
An automatic arrangement of color and the layout can be changed to the expression who you further seem by your instruction.
Author: Tenman
Author URI: http://www.tenman.info/
-Version: 0.311
+Version: 0.312
Tags:black, blue, brown, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar ,fixed-width ,flexible-width, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready
@@ -1600,18 +1600,18 @@ div.category-blog div.blog-main{
height:200px; /*see: functions.php add_image_size( 'single-post-thumbnail'*/
overflow:hidden;
text-align:center;
-
-
-
+}
+.single-post-thumnail{
+ margin-top:1em;
+
}
.single-post-thumbnail img{
- margin-top:-100px;
- min-width:600px;
+
+ /*min-width:600px;*/
height:auto;
}
-/*.entry-content img{
-*/
+
.home .sticky {

0 comments on commit dca0dab

Please sign in to comment.
Something went wrong with that request. Please try again.